SlideShare a Scribd company logo
Intro to Databases
Instructor: Malik M. Ali Shahid
First Session: Introduction
2
Purpose of this course
 An introduction to database
management systems
 Help students understand the benefits
that can be attained by using
Relational DBMS
 Enable students to become comfortable
in designing database schemas in SQL,
plus writing CRUD functions
3
Course Summary
 This course covers these topics:
 Introduction to Databases & their users
 DBMS Concepts & Architecture
 Data Modeling using the ERM
 Relational Data Model & Algebra
 SQL (Schemas, Queries, Constraints)
 Functional Dependencies
 Normalization
4
Course Books
 Primary Text:
 An Introduction to Database Systems – 8e.
 By C. J. Date
 Reference Text:
 Fundamentals of Database Systems – 4e.
 By Ramez Elmasri and S. B. Navathe
5
Grading (tentatively)
 Assignments : 10%
 Quizzes: 10%
 Project : 10%
 Lab: 10%
 Midterm Exam : 20%
 Final Exam : 40%
6
What was the need for Databases?
 The concept of a file system is where
our story begins
 Everything was done one way
 “Master Files” held information
 “Transaction Files” told the file system
what to do
 “New Master File” was created in place of
the old one
 “Error Files” stored what went wrong
 These were used for a very long time
7
The File System
Transaction
File
Master File New Master File
Error
Log
8
What was wrong with file system
approach?
 Too much programming knowledge
necessary
 Everyone who used them had to have a fairly
technical background
 In order to transact much of what was done you
had to know a lot about the system and files
 Took a good while to get information to where it
needed to go
 Hard to secure
 Integrity was hard to enforce
 Too much room for error
 Just not easy enough for corporations
9
Now with Databases
 Built-in Support for
 Security & Access Control
 Constraints & Triggers
 Transactions
 Performance Tuning
10
What is a Database?
 Basic Definition
 A Database is a collection of data files
 Complex Definition
 A Database is a structure that contains
information about many kinds of entities
and about the relationships between
those entities.
11
Entities
 Entity – a person, place, thing, or event
 Entities become our categories of
information
 Customers
 Products
 Orders
 We organize our information in these major
entities (categories)
 These categories become the tables, that
will store our data
12
Relationships
 Relationship – an association between
entities
 Relationships define how our data
files will talk to each other
 Customers “Place” Orders
 Orders “Are For” Products
 There are several key types of
relationships that we will talk about
later on
13
More about Entities
 What does everyone have in common?
 Entities have basic properties too
 Properties of entities are called Attributes
 Attributes describe our categories
 A “Customer” has some basic properties
 Name
 Phone Number
 Address

More Related Content

What's hot (20)

PPTX
Database Administration
Bilal Arshad
 
PPS
DBA
Anuj Modi
 
PDF
The Databases applications in government sections
Monzer Osama Alchikh WARAK
 
DOCX
jose rizal
Rio Hemelgo
 
PPT
Database administration and security
Mohd Arif
 
PPT
Lecture 09 dblc centralized vs decentralized design
emailharmeet
 
PDF
Computing Notes Chapter 1 Zimsec Zimbabwe Alpro Cambridge
Alpro
 
PPTX
Database
santoshsaini22
 
PPTX
Web Database integration
UmArKaWiSh
 
PPTX
Single User v/s Multi User Databases
Raminder Pal Singh
 
PPT
Database Administrator - Job Scope
CacheWorks©
 
PPTX
INTRODUCTION TO DATABASE
CS_GDRCST
 
PDF
Data flow diagram part7
DrMohammed Qassim
 
PDF
Database administrator types
michel9
 
PPTX
StoreGrid : Introduction & Features
Revolucion
 
PPS
Edms
N0pr3s3n7
 
PPT
University electronic management system
Aleksey Lashin
 
PPTX
Database Administration
Bilal Arshad
 
Database Administration
Bilal Arshad
 
The Databases applications in government sections
Monzer Osama Alchikh WARAK
 
jose rizal
Rio Hemelgo
 
Database administration and security
Mohd Arif
 
Lecture 09 dblc centralized vs decentralized design
emailharmeet
 
Computing Notes Chapter 1 Zimsec Zimbabwe Alpro Cambridge
Alpro
 
Database
santoshsaini22
 
Web Database integration
UmArKaWiSh
 
Single User v/s Multi User Databases
Raminder Pal Singh
 
Database Administrator - Job Scope
CacheWorks©
 
INTRODUCTION TO DATABASE
CS_GDRCST
 
Data flow diagram part7
DrMohammed Qassim
 
Database administrator types
michel9
 
StoreGrid : Introduction & Features
Revolucion
 
Edms
N0pr3s3n7
 
University electronic management system
Aleksey Lashin
 
Database Administration
Bilal Arshad
 

Similar to Lesson00 intro to databases (20)

PPT
DBMS - Introduction.ppt
SATHYABAMAMADHANKUMA
 
PPTX
Database part1-
Taymoor Nazmy
 
PPTX
UNIT-1.pptx discusses about introduction to dbms
DrRBullibabu
 
PPT
Advanced Database Management System_Introduction Slide.ppt
BikalAdhikari4
 
PDF
DBMS Unit 1 nice content please download it
kelpwadwise
 
PDF
Database :Introduction to Database System
ZakriyaMalik2
 
PDF
Database Systems - Lecture Week 1
Dios Kurniawan
 
PPTX
introduction to database system concepts
Rajasekhar364622
 
PPT
data base
Surya Swaroop
 
PPT
lecture1_dbmsssssssssssssssssssssssss.ppt
choudharyabubakar55
 
PPT
lec01.ppt
goodperson7
 
PPTX
01.-Introduction-to-databases and relational db
solomon166121
 
PDF
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
PPTX
DEE 431 Introduction to DBMS Slide 1
YOGESH SINGH
 
PPTX
Module-1.pptx
SridharChowdary10
 
PPTX
Lecture27
Sumama Shakir
 
PPTX
Introduction to Information and Communication Technologyh
zaidlhr2050
 
PPTX
Database Management System, Lecture-1
Sonia Mim
 
PPT
Database Management Systems Lecture notes Unit-1.ppt
VivekanandaGN2
 
DBMS - Introduction.ppt
SATHYABAMAMADHANKUMA
 
Database part1-
Taymoor Nazmy
 
UNIT-1.pptx discusses about introduction to dbms
DrRBullibabu
 
Advanced Database Management System_Introduction Slide.ppt
BikalAdhikari4
 
DBMS Unit 1 nice content please download it
kelpwadwise
 
Database :Introduction to Database System
ZakriyaMalik2
 
Database Systems - Lecture Week 1
Dios Kurniawan
 
introduction to database system concepts
Rajasekhar364622
 
data base
Surya Swaroop
 
lecture1_dbmsssssssssssssssssssssssss.ppt
choudharyabubakar55
 
lec01.ppt
goodperson7
 
01.-Introduction-to-databases and relational db
solomon166121
 
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
DEE 431 Introduction to DBMS Slide 1
YOGESH SINGH
 
Module-1.pptx
SridharChowdary10
 
Lecture27
Sumama Shakir
 
Introduction to Information and Communication Technologyh
zaidlhr2050
 
Database Management System, Lecture-1
Sonia Mim
 
Database Management Systems Lecture notes Unit-1.ppt
VivekanandaGN2
 
Ad

More from Muhammad Sikandar Mustafa (18)

PPTX
What is organizational behavior
Muhammad Sikandar Mustafa
 
PPTX
11. estimation-1
Muhammad Sikandar Mustafa
 
PPT
9. risk-management
Muhammad Sikandar Mustafa
 
PPTX
8. project-management
Muhammad Sikandar Mustafa
 
PPTX
7. requirement-engineering
Muhammad Sikandar Mustafa
 
PPTX
6. software requirements
Muhammad Sikandar Mustafa
 
PPT
software process
Muhammad Sikandar Mustafa
 
PPTX
software myths
Muhammad Sikandar Mustafa
 
PPT
software characteristics
Muhammad Sikandar Mustafa
 
PPT
overview introduction to Software Engineering
Muhammad Sikandar Mustafa
 
PPT
5. software process model
Muhammad Sikandar Mustafa
 
PPT
Lesson05 relational languages sql
Muhammad Sikandar Mustafa
 
PPT
Lesson03 the relational model
Muhammad Sikandar Mustafa
 
PPT
Lesson10 Database security
Muhammad Sikandar Mustafa
 
PPT
Lesson08 tm recovery
Muhammad Sikandar Mustafa
 
PPT
Lesson07 e r modelling
Muhammad Sikandar Mustafa
 
PPT
Lesson06 database design
Muhammad Sikandar Mustafa
 
PPTX
Advanced procedures in assembly language Full chapter ppt
Muhammad Sikandar Mustafa
 
What is organizational behavior
Muhammad Sikandar Mustafa
 
11. estimation-1
Muhammad Sikandar Mustafa
 
9. risk-management
Muhammad Sikandar Mustafa
 
8. project-management
Muhammad Sikandar Mustafa
 
7. requirement-engineering
Muhammad Sikandar Mustafa
 
6. software requirements
Muhammad Sikandar Mustafa
 
software process
Muhammad Sikandar Mustafa
 
software characteristics
Muhammad Sikandar Mustafa
 
overview introduction to Software Engineering
Muhammad Sikandar Mustafa
 
5. software process model
Muhammad Sikandar Mustafa
 
Lesson05 relational languages sql
Muhammad Sikandar Mustafa
 
Lesson03 the relational model
Muhammad Sikandar Mustafa
 
Lesson10 Database security
Muhammad Sikandar Mustafa
 
Lesson08 tm recovery
Muhammad Sikandar Mustafa
 
Lesson07 e r modelling
Muhammad Sikandar Mustafa
 
Lesson06 database design
Muhammad Sikandar Mustafa
 
Advanced procedures in assembly language Full chapter ppt
Muhammad Sikandar Mustafa
 
Ad

Recently uploaded (20)

PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 

Lesson00 intro to databases

  • 1. Intro to Databases Instructor: Malik M. Ali Shahid First Session: Introduction
  • 2. 2 Purpose of this course  An introduction to database management systems  Help students understand the benefits that can be attained by using Relational DBMS  Enable students to become comfortable in designing database schemas in SQL, plus writing CRUD functions
  • 3. 3 Course Summary  This course covers these topics:  Introduction to Databases & their users  DBMS Concepts & Architecture  Data Modeling using the ERM  Relational Data Model & Algebra  SQL (Schemas, Queries, Constraints)  Functional Dependencies  Normalization
  • 4. 4 Course Books  Primary Text:  An Introduction to Database Systems – 8e.  By C. J. Date  Reference Text:  Fundamentals of Database Systems – 4e.  By Ramez Elmasri and S. B. Navathe
  • 5. 5 Grading (tentatively)  Assignments : 10%  Quizzes: 10%  Project : 10%  Lab: 10%  Midterm Exam : 20%  Final Exam : 40%
  • 6. 6 What was the need for Databases?  The concept of a file system is where our story begins  Everything was done one way  “Master Files” held information  “Transaction Files” told the file system what to do  “New Master File” was created in place of the old one  “Error Files” stored what went wrong  These were used for a very long time
  • 7. 7 The File System Transaction File Master File New Master File Error Log
  • 8. 8 What was wrong with file system approach?  Too much programming knowledge necessary  Everyone who used them had to have a fairly technical background  In order to transact much of what was done you had to know a lot about the system and files  Took a good while to get information to where it needed to go  Hard to secure  Integrity was hard to enforce  Too much room for error  Just not easy enough for corporations
  • 9. 9 Now with Databases  Built-in Support for  Security & Access Control  Constraints & Triggers  Transactions  Performance Tuning
  • 10. 10 What is a Database?  Basic Definition  A Database is a collection of data files  Complex Definition  A Database is a structure that contains information about many kinds of entities and about the relationships between those entities.
  • 11. 11 Entities  Entity – a person, place, thing, or event  Entities become our categories of information  Customers  Products  Orders  We organize our information in these major entities (categories)  These categories become the tables, that will store our data
  • 12. 12 Relationships  Relationship – an association between entities  Relationships define how our data files will talk to each other  Customers “Place” Orders  Orders “Are For” Products  There are several key types of relationships that we will talk about later on
  • 13. 13 More about Entities  What does everyone have in common?  Entities have basic properties too  Properties of entities are called Attributes  Attributes describe our categories  A “Customer” has some basic properties  Name  Phone Number  Address