SlideShare a Scribd company logo
LECTURE#27
YASMIN AFZAAL
 Introduction and Purpose of Databases
 Databases vs. File System
2
DATA
 What is Data?
 In simple words data can be facts related to any object
in consideration.
 For example your name, age, height, weight, etc. are
some data related to you.
 A picture , image , file , pdf etc. can also be considered
data.
3
WHAT IS A DATABASE
 Database is a systematic collection of data.
Databases support storage and manipulation of
data. Databases make data management easy.
For examples:
 An online telephone directory would definitely use
database to store data pertaining to people, phone
numbers, other contact details, etc.
 Electricity service provider is obviously using a
database to manage billing , client related issues, to
handle fault data, etc.
 Facebook also needs to store, manipulate and present
data related to members, their friends, member
activities, messages, advertisements and lot more.
4
APPLICATIONS OF DBMS
 Banking : for customer information, accounts and loans and
banking transactions.
 Universities : for student registrations and grades.
 Online shopping : Everyone wants to shop from home.
Everyday new products are added and sold only with the help
of DBMS. Purchase information, invoice bills and payment, all
of these are done with the help of DBMS.
 Airlines : for reservations and schedule information.
 Credit card transactions : for purchases on credit cards and
generation of monthly statements.
 Library Management System : maintain all the information
relate to book issue dates, name of the book, author and
availability of the book.
5
CONT.…
 Telecommunications : for keeping records of call
made, generating monthly bills, maintaining balances on
prepaid calling cards.
 Sales : for customer, product and purchase information.
 Finance : for storing information about holdings, sales,
and purchases of financial instruments such as stocks
and bonds.
 Manufacturing : for management of supply chain and
for tracking production of items in factories, inventories
of items and orders for items.
 Human Resource : for information about employees,
salaries, payroll taxes and benefits.
6
WHAT IS A DATABASE MANAGEMENT SYSTEM
(DBMS)?
 A database-management system (DBMS) is
a computer-software application that interacts
with end-users, other applications, and the
database itself to capture and analyse data.
 A general-purpose DBMS allows the definition,
creation, querying, update, and administration of
databases.
 It also helps to control access to the database.
 Database Management Systems are not a new
concept and as such had been first implemented in
1960s.
7
DATABASE LANGUAGES
 Database is built and maintained by using a database
programming language.
 Database languages are used for read, update and
store data in a database.
 There are several such languages that can be used for
this purpose;
 Microsoft Access is one of the most popular database
platforms on the market today.
 SQL (Structured Query Language) is the most
common database language and is used by most
databases today. We use SQL for a database for a
medium to large business.
 Server databases like MySQL, Microsoft SQL Server,
and Oracle are enormously powerful 8
WHAT IS THE STRUCTURE OF A DATABASE?
 A database is made up of tables that contain
columns (field) and rows (records) can be designed
to hold a specific type of data, such as a number,
text or a date.
 Data is separated by categories into tables in order
to avoid duplication.
 For example, a business might have a table for
Employees, one for Customers and another for
Products.
9
DATABASE COMPONENTS
 A database is made up of several main components.
 Schema - A database contains one or more schemas, which
is basically a collection of one or more tables of data.
 Table - Each table contains multiple columns, which are
similar to columns in a spread sheet. A table can have as little
as two columns and as many as one hundred or more
columns, depending on the type of data being stored in the
table.
 Column - Each column contains one of several types of data
or values, like dates, numeric or integer values, and
alphanumeric values (also known as varchar).
 Row - Data in a table is listed in rows, which are like rows of
data in a spread sheet. Often there are hundreds or
thousands of rows of data in a table.
10
A DATABASE….
11
WHAT CAN A DATABASE DO?
 On the surface, a database might seem much like a
spread sheet; it has data arranged in columns and rows.
But that is where the similarity ends because a database
is far more powerful.
 If the database is relational. This means that you can
create relationships between tables.
 if you linked a Customers table with an Orders table, you could
find all purchase orders from the Orders table that a single
customer from the Customers table ever processed,
 A database has broad searching functionality.
 For example, a sales department could quickly search for and find
all sales personnel who had achieved a certain amount of sales
over a particular time period.
 A database can update records in bulk – even millions
or more records.
 For example, if you wanted to add new columns or apply a data
patch of some sort. 12
CONT..
 A database can perform complex aggregate calculations
across multiple tables.
 For example, you could list expenses across multiple retail
outlets, including all possible sub-totals, and then a final total.
 A database can enforce consistency and data integrity,
which means that it can avoid duplication and ensure
data accuracy through its design and a series of
constraints.
 A database will include forms so that users can input or
edit data. In addition, it will have the facility to generate
reports from the data. A report is simply the answer to a
question, called a query in database-speak. For
instance, you might query the database to find out a
company's gross income over a particular time period.
The database will return to you the report with your
requested information. 13
DATABASES VS. FILE SYSTEM
 A Database Management System (DMS) is a
combination of computer software, hardware, and
information designed to electronically manipulate data
via computer processing.
 Two types of database management systems are
DBMS’s and FMS’s.
 A File Management System (FMS) is a Database
Management System that allows access to single files
or tables at a time. FMS’s accommodate flat files that
have no relation to other files.
 The FMS was the predecessor for the Database
Management System (DBMS), which allows access to
multiple files or tables at a time.
14
 A database management system coordinates both the
physical and the logical access to the data, whereas a file-
processing system coordinates only the physical access.
 A database management system is designed to allow
flexible access to data (i.e. queries), whereas a file-
processing system is designed to allow predetermined
access to data (i.e. compiled programs).
 A database management system is designed to coordinate
multiple users accessing the same data at the same time. A
file-processing system is usually designed to allow one or
more programs to access different data files at the same
time. In a file-processing system, a file can be accessed by
two programs concurrently only if both programs have read-
only access to the file.
15
CONT.…
 Redundancy( duplication of data) is control in
DBMS, but not in file system.
 Unauthorized access is restricted in DBMS but not
in the file system.
 DBMS provide back up and recovery whereas data
lost in file system can't be recovered.
 DBMS provide multiple user interfaces. Data is
isolated in file system.
16
 Lets explore some data base systems.
 Student database
 A shop database etc.
17

More Related Content

What's hot

00137
0013700137
00137
prashnant
 
Database introduction
Database introductionDatabase introduction
Database introduction
Harry Potter
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
rahulrathore725
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
sheikhfaizanali
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
askme
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
akanksha007
 
ITI015En-The evolution of databases (I)
ITI015En-The evolution of databases (I)ITI015En-The evolution of databases (I)
ITI015En-The evolution of databases (I)
Huibert Aalbers
 
DBMS
DBMSDBMS
DBMS
emran nur
 
ms-11.pdf
ms-11.pdfms-11.pdf
ms-11.pdf
NikitaKumari71
 
Database Management Systems
Database Management SystemsDatabase Management Systems
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
askme
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing concepts
kinjal patel
 
Database management system
Database management systemDatabase management system
Database management system
Midhun Abraham
 
Database (IT) Lecture Slide
Database (IT) Lecture SlideDatabase (IT) Lecture Slide
Database (IT) Lecture Slide
Muhammad Talha Zaroon
 
Library management
Library managementLibrary management
Library management
farouq umar
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
raj upadhyay
 
Lect 30 dbms_fundamentals
Lect 30  dbms_fundamentalsLect 30  dbms_fundamentals
Lect 30 dbms_fundamentals
Protik Roy
 

What's hot (18)

00137
0013700137
00137
 
Database introduction
Database introductionDatabase introduction
Database introduction
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
ITI015En-The evolution of databases (I)
ITI015En-The evolution of databases (I)ITI015En-The evolution of databases (I)
ITI015En-The evolution of databases (I)
 
DBMS
DBMSDBMS
DBMS
 
ms-11.pdf
ms-11.pdfms-11.pdf
ms-11.pdf
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing concepts
 
Database management system
Database management systemDatabase management system
Database management system
 
Database (IT) Lecture Slide
Database (IT) Lecture SlideDatabase (IT) Lecture Slide
Database (IT) Lecture Slide
 
Library management
Library managementLibrary management
Library management
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
Lect 30 dbms_fundamentals
Lect 30  dbms_fundamentalsLect 30  dbms_fundamentals
Lect 30 dbms_fundamentals
 

Similar to Lecture27

Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
Rupen Parte
 
Unit3rd
Unit3rdUnit3rd
Database
DatabaseDatabase
Database
sumit621
 
Database
DatabaseDatabase
Database
Nuqra Rabbani
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptx
ArshveerSinghDhillon
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Tamur Iqbal
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
Database
DatabaseDatabase
Chapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen dataChapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen data
UNIVERSITAS TEKNOKRAT INDONESIA
 
W 8 introduction to database
W 8  introduction to databaseW 8  introduction to database
W 8 introduction to database
Institute of Management Studies UOP
 
Uses of dbms
Uses of dbmsUses of dbms
Uses of dbms
MISY
 
Data base management system
Data base management systemData base management system
Data base management system
ashirafzal1
 
Database
DatabaseDatabase
Database
wwaqas2007
 
Database
DatabaseDatabase
Database
Vaibhav Bajaj
 
Database Intro
Database IntroDatabase Intro
Database Intro
GovtITIWomen
 
DBMS PART 1.docx
DBMS PART 1.docxDBMS PART 1.docx
DBMS PART 1.docx
GudduKumar408051
 
DATABASE MANAGEMENT
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENT
MiXvideos
 
Database management system
Database management systemDatabase management system
Database management system
khagendrabasnet4
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
Filmon Habtemichael Tesfai
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
BigyanDhital1
 

Similar to Lecture27 (20)

Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Database
DatabaseDatabase
Database
 
Database
DatabaseDatabase
Database
 
Database Management System Part-1.pptx
Database Management System Part-1.pptxDatabase Management System Part-1.pptx
Database Management System Part-1.pptx
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Database
DatabaseDatabase
Database
 
Chapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen dataChapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen data
 
W 8 introduction to database
W 8  introduction to databaseW 8  introduction to database
W 8 introduction to database
 
Uses of dbms
Uses of dbmsUses of dbms
Uses of dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
Database
DatabaseDatabase
Database
 
Database
DatabaseDatabase
Database
 
Database Intro
Database IntroDatabase Intro
Database Intro
 
DBMS PART 1.docx
DBMS PART 1.docxDBMS PART 1.docx
DBMS PART 1.docx
 
DATABASE MANAGEMENT
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENT
 
Database management system
Database management systemDatabase management system
Database management system
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
 

More from Sumama Shakir

Chemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full BookChemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full Book
Sumama Shakir
 
Chemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full BookChemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full Book
Sumama Shakir
 
9th Chemistry Numericals 1st Chapter
9th Chemistry Numericals 1st Chapter9th Chemistry Numericals 1st Chapter
9th Chemistry Numericals 1st Chapter
Sumama Shakir
 
Chemistry 10th Urdu medium Notes Solved
Chemistry 10th Urdu medium Notes SolvedChemistry 10th Urdu medium Notes Solved
Chemistry 10th Urdu medium Notes Solved
Sumama Shakir
 
Chemistry 9th Class Test Yourself Full Book
Chemistry 9th Class Test Yourself Full Book Chemistry 9th Class Test Yourself Full Book
Chemistry 9th Class Test Yourself Full Book
Sumama Shakir
 
10th Class Chemistry Urdu Medium Full Book Exercise Short Answers
10th Class Chemistry  Urdu Medium Full Book Exercise Short Answers10th Class Chemistry  Urdu Medium Full Book Exercise Short Answers
10th Class Chemistry Urdu Medium Full Book Exercise Short Answers
Sumama Shakir
 
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
Sumama Shakir
 
Chemistry 9Th Book, PUNJAB TEXT BOOK
Chemistry 9Th Book, PUNJAB TEXT BOOK Chemistry 9Th Book, PUNJAB TEXT BOOK
Chemistry 9Th Book, PUNJAB TEXT BOOK
Sumama Shakir
 
Nitric acid preparation & uses
Nitric acid preparation &  usesNitric acid preparation &  uses
Nitric acid preparation & uses
Sumama Shakir
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
Sumama Shakir
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
Sumama Shakir
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
Sumama Shakir
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
Sumama Shakir
 
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Sumama Shakir
 
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Sumama Shakir
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
Sumama Shakir
 
preparation and uses of nitric acid
preparation and uses of nitric acid preparation and uses of nitric acid
preparation and uses of nitric acid
Sumama Shakir
 
computer and security
computer and security computer and security
computer and security
Sumama Shakir
 
computer and society impact of Computer in society
computer and society  impact of Computer in society computer and society  impact of Computer in society
computer and society impact of Computer in society
Sumama Shakir
 
Computer and their Uses types of computer
Computer and their Uses types of computer Computer and their Uses types of computer
Computer and their Uses types of computer
Sumama Shakir
 

More from Sumama Shakir (20)

Chemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full BookChemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full Book
 
Chemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full BookChemistry Short Question Notes 9th Exercise full Book
Chemistry Short Question Notes 9th Exercise full Book
 
9th Chemistry Numericals 1st Chapter
9th Chemistry Numericals 1st Chapter9th Chemistry Numericals 1st Chapter
9th Chemistry Numericals 1st Chapter
 
Chemistry 10th Urdu medium Notes Solved
Chemistry 10th Urdu medium Notes SolvedChemistry 10th Urdu medium Notes Solved
Chemistry 10th Urdu medium Notes Solved
 
Chemistry 9th Class Test Yourself Full Book
Chemistry 9th Class Test Yourself Full Book Chemistry 9th Class Test Yourself Full Book
Chemistry 9th Class Test Yourself Full Book
 
10th Class Chemistry Urdu Medium Full Book Exercise Short Answers
10th Class Chemistry  Urdu Medium Full Book Exercise Short Answers10th Class Chemistry  Urdu Medium Full Book Exercise Short Answers
10th Class Chemistry Urdu Medium Full Book Exercise Short Answers
 
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
Chemistry 10th in English medium,This book is by Punjab Curriculum and Textbo...
 
Chemistry 9Th Book, PUNJAB TEXT BOOK
Chemistry 9Th Book, PUNJAB TEXT BOOK Chemistry 9Th Book, PUNJAB TEXT BOOK
Chemistry 9Th Book, PUNJAB TEXT BOOK
 
Nitric acid preparation & uses
Nitric acid preparation &  usesNitric acid preparation &  uses
Nitric acid preparation & uses
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
 
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
 
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
Nitric acid Preparation & Uses Raw materials, Flow sheet diagram unit operat...
 
Nitric acid Preparation & Uses
Nitric acid Preparation & UsesNitric acid Preparation & Uses
Nitric acid Preparation & Uses
 
preparation and uses of nitric acid
preparation and uses of nitric acid preparation and uses of nitric acid
preparation and uses of nitric acid
 
computer and security
computer and security computer and security
computer and security
 
computer and society impact of Computer in society
computer and society  impact of Computer in society computer and society  impact of Computer in society
computer and society impact of Computer in society
 
Computer and their Uses types of computer
Computer and their Uses types of computer Computer and their Uses types of computer
Computer and their Uses types of computer
 

Recently uploaded

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 

Lecture27

  • 2.  Introduction and Purpose of Databases  Databases vs. File System 2
  • 3. DATA  What is Data?  In simple words data can be facts related to any object in consideration.  For example your name, age, height, weight, etc. are some data related to you.  A picture , image , file , pdf etc. can also be considered data. 3
  • 4. WHAT IS A DATABASE  Database is a systematic collection of data. Databases support storage and manipulation of data. Databases make data management easy. For examples:  An online telephone directory would definitely use database to store data pertaining to people, phone numbers, other contact details, etc.  Electricity service provider is obviously using a database to manage billing , client related issues, to handle fault data, etc.  Facebook also needs to store, manipulate and present data related to members, their friends, member activities, messages, advertisements and lot more. 4
  • 5. APPLICATIONS OF DBMS  Banking : for customer information, accounts and loans and banking transactions.  Universities : for student registrations and grades.  Online shopping : Everyone wants to shop from home. Everyday new products are added and sold only with the help of DBMS. Purchase information, invoice bills and payment, all of these are done with the help of DBMS.  Airlines : for reservations and schedule information.  Credit card transactions : for purchases on credit cards and generation of monthly statements.  Library Management System : maintain all the information relate to book issue dates, name of the book, author and availability of the book. 5
  • 6. CONT.…  Telecommunications : for keeping records of call made, generating monthly bills, maintaining balances on prepaid calling cards.  Sales : for customer, product and purchase information.  Finance : for storing information about holdings, sales, and purchases of financial instruments such as stocks and bonds.  Manufacturing : for management of supply chain and for tracking production of items in factories, inventories of items and orders for items.  Human Resource : for information about employees, salaries, payroll taxes and benefits. 6
  • 7. WHAT IS A DATABASE MANAGEMENT SYSTEM (DBMS)?  A database-management system (DBMS) is a computer-software application that interacts with end-users, other applications, and the database itself to capture and analyse data.  A general-purpose DBMS allows the definition, creation, querying, update, and administration of databases.  It also helps to control access to the database.  Database Management Systems are not a new concept and as such had been first implemented in 1960s. 7
  • 8. DATABASE LANGUAGES  Database is built and maintained by using a database programming language.  Database languages are used for read, update and store data in a database.  There are several such languages that can be used for this purpose;  Microsoft Access is one of the most popular database platforms on the market today.  SQL (Structured Query Language) is the most common database language and is used by most databases today. We use SQL for a database for a medium to large business.  Server databases like MySQL, Microsoft SQL Server, and Oracle are enormously powerful 8
  • 9. WHAT IS THE STRUCTURE OF A DATABASE?  A database is made up of tables that contain columns (field) and rows (records) can be designed to hold a specific type of data, such as a number, text or a date.  Data is separated by categories into tables in order to avoid duplication.  For example, a business might have a table for Employees, one for Customers and another for Products. 9
  • 10. DATABASE COMPONENTS  A database is made up of several main components.  Schema - A database contains one or more schemas, which is basically a collection of one or more tables of data.  Table - Each table contains multiple columns, which are similar to columns in a spread sheet. A table can have as little as two columns and as many as one hundred or more columns, depending on the type of data being stored in the table.  Column - Each column contains one of several types of data or values, like dates, numeric or integer values, and alphanumeric values (also known as varchar).  Row - Data in a table is listed in rows, which are like rows of data in a spread sheet. Often there are hundreds or thousands of rows of data in a table. 10
  • 12. WHAT CAN A DATABASE DO?  On the surface, a database might seem much like a spread sheet; it has data arranged in columns and rows. But that is where the similarity ends because a database is far more powerful.  If the database is relational. This means that you can create relationships between tables.  if you linked a Customers table with an Orders table, you could find all purchase orders from the Orders table that a single customer from the Customers table ever processed,  A database has broad searching functionality.  For example, a sales department could quickly search for and find all sales personnel who had achieved a certain amount of sales over a particular time period.  A database can update records in bulk – even millions or more records.  For example, if you wanted to add new columns or apply a data patch of some sort. 12
  • 13. CONT..  A database can perform complex aggregate calculations across multiple tables.  For example, you could list expenses across multiple retail outlets, including all possible sub-totals, and then a final total.  A database can enforce consistency and data integrity, which means that it can avoid duplication and ensure data accuracy through its design and a series of constraints.  A database will include forms so that users can input or edit data. In addition, it will have the facility to generate reports from the data. A report is simply the answer to a question, called a query in database-speak. For instance, you might query the database to find out a company's gross income over a particular time period. The database will return to you the report with your requested information. 13
  • 14. DATABASES VS. FILE SYSTEM  A Database Management System (DMS) is a combination of computer software, hardware, and information designed to electronically manipulate data via computer processing.  Two types of database management systems are DBMS’s and FMS’s.  A File Management System (FMS) is a Database Management System that allows access to single files or tables at a time. FMS’s accommodate flat files that have no relation to other files.  The FMS was the predecessor for the Database Management System (DBMS), which allows access to multiple files or tables at a time. 14
  • 15.  A database management system coordinates both the physical and the logical access to the data, whereas a file- processing system coordinates only the physical access.  A database management system is designed to allow flexible access to data (i.e. queries), whereas a file- processing system is designed to allow predetermined access to data (i.e. compiled programs).  A database management system is designed to coordinate multiple users accessing the same data at the same time. A file-processing system is usually designed to allow one or more programs to access different data files at the same time. In a file-processing system, a file can be accessed by two programs concurrently only if both programs have read- only access to the file. 15
  • 16. CONT.…  Redundancy( duplication of data) is control in DBMS, but not in file system.  Unauthorized access is restricted in DBMS but not in the file system.  DBMS provide back up and recovery whereas data lost in file system can't be recovered.  DBMS provide multiple user interfaces. Data is isolated in file system. 16
  • 17.  Lets explore some data base systems.  Student database  A shop database etc. 17