SlideShare a Scribd company logo
1 of 13
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

Database administration and security
Database administration and securityDatabase administration and security
Database administration and security
Mohd Arif
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
emailharmeet
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User Databases
Raminder Pal Singh
 
StoreGrid : Introduction & Features
StoreGrid : Introduction & FeaturesStoreGrid : Introduction & Features
StoreGrid : Introduction & Features
Revolucion
 
University electronic management system
University electronic management systemUniversity electronic management system
University electronic management system
Aleksey Lashin
 

What's hot (20)

Database Administration
Database AdministrationDatabase Administration
Database Administration
 
DBA
DBADBA
DBA
 
The Databases applications in government sections
The Databases applications in government sectionsThe Databases applications in government sections
The Databases applications in government sections
 
jose rizal
jose rizaljose rizal
jose rizal
 
Ch1
Ch1Ch1
Ch1
 
Dba
DbaDba
Dba
 
Database administration and security
Database administration and securityDatabase administration and security
Database administration and security
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
 
Computing Notes Chapter 1 Zimsec Zimbabwe Alpro Cambridge
Computing Notes Chapter 1 Zimsec Zimbabwe Alpro CambridgeComputing Notes Chapter 1 Zimsec Zimbabwe Alpro Cambridge
Computing Notes Chapter 1 Zimsec Zimbabwe Alpro Cambridge
 
Database
DatabaseDatabase
Database
 
Web Database integration
Web Database integrationWeb Database integration
Web Database integration
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User Databases
 
Database Administrator - Job Scope
Database Administrator - Job ScopeDatabase Administrator - Job Scope
Database Administrator - Job Scope
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Data flow diagram part7
Data flow diagram part7Data flow diagram part7
Data flow diagram part7
 
Database administrator types
Database administrator typesDatabase administrator types
Database administrator types
 
StoreGrid : Introduction & Features
StoreGrid : Introduction & FeaturesStoreGrid : Introduction & Features
StoreGrid : Introduction & Features
 
Edms
EdmsEdms
Edms
 
University electronic management system
University electronic management systemUniversity electronic management system
University electronic management system
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
 

Similar to Lesson00 intro to databases

Similar to Lesson00 intro to databases (20)

Book by Muhammad Sharif full dbms Database systems handbook.pdf
Book by Muhammad Sharif  full dbms Database systems handbook.pdfBook by Muhammad Sharif  full dbms Database systems handbook.pdf
Book by Muhammad Sharif full dbms Database systems handbook.pdf
 
Book by Muhammad Sharif full dbms Database systems handbook.pdf
Book by Muhammad Sharif  full dbms Database systems handbook.pdfBook by Muhammad Sharif  full dbms Database systems handbook.pdf
Book by Muhammad Sharif full dbms Database systems handbook.pdf
 
Book by Muhammad Sharif full dbms Database systems handbook.pdf
Book by Muhammad Sharif  full dbms Database systems handbook.pdfBook by Muhammad Sharif  full dbms Database systems handbook.pdf
Book by Muhammad Sharif full dbms Database systems handbook.pdf
 
Muhammad Sharif full dbms Database systems handbook.pdf
Muhammad Sharif  full dbms Database systems handbook.pdfMuhammad Sharif  full dbms Database systems handbook.pdf
Muhammad Sharif full dbms Database systems handbook.pdf
 
Muhammad Sharif DBA full dbms Handbook Database systems.pdf
Muhammad Sharif DBA full dbms Handbook Database systems.pdfMuhammad Sharif DBA full dbms Handbook Database systems.pdf
Muhammad Sharif DBA full dbms Handbook Database systems.pdf
 
Module-1.pptx
Module-1.pptxModule-1.pptx
Module-1.pptx
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
 
Database systems Handbook database systems muhammad sharif.pdf
Database systems Handbook database systems muhammad sharif.pdfDatabase systems Handbook database systems muhammad sharif.pdf
Database systems Handbook database systems muhammad sharif.pdf
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
 
Database systems Handbook by Muhammad Sharif dba.pdf
Database systems Handbook by Muhammad Sharif dba.pdfDatabase systems Handbook by Muhammad Sharif dba.pdf
Database systems Handbook by Muhammad Sharif dba.pdf
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Muhammad Sharif handbook dbms Database systems Handbook.pdf
Muhammad Sharif handbook dbms Database systems Handbook.pdfMuhammad Sharif handbook dbms Database systems Handbook.pdf
Muhammad Sharif handbook dbms Database systems Handbook.pdf
 
Database systems Handbook by Muhammad sharif dba.pdf
Database systems Handbook by Muhammad sharif dba.pdfDatabase systems Handbook by Muhammad sharif dba.pdf
Database systems Handbook by Muhammad sharif dba.pdf
 
DBMS Full book by Muhammad Sharif title as Database systems Handbook.pdf
DBMS Full book by Muhammad Sharif  title as Database systems Handbook.pdfDBMS Full book by Muhammad Sharif  title as Database systems Handbook.pdf
DBMS Full book by Muhammad Sharif title as Database systems Handbook.pdf
 
Muhammad Sharif dbms book title as Database systems Handbook.pdf
Muhammad Sharif dbms book title as Database systems Handbook.pdfMuhammad Sharif dbms book title as Database systems Handbook.pdf
Muhammad Sharif dbms book title as Database systems Handbook.pdf
 

More from Muhammad Sikandar Mustafa

More from Muhammad Sikandar Mustafa (18)

What is organizational behavior
What is organizational behaviorWhat is organizational behavior
What is organizational behavior
 
11. estimation-1
11. estimation-111. estimation-1
11. estimation-1
 
9. risk-management
9. risk-management9. risk-management
9. risk-management
 
8. project-management
8. project-management8. project-management
8. project-management
 
7. requirement-engineering
7. requirement-engineering7. requirement-engineering
7. requirement-engineering
 
6. software requirements
6. software requirements6. software requirements
6. software requirements
 
software process
software process software process
software process
 
software myths
software mythssoftware myths
software myths
 
software characteristics
software characteristicssoftware characteristics
software characteristics
 
overview introduction to Software Engineering
overview introduction to Software Engineeringoverview introduction to Software Engineering
overview introduction to Software Engineering
 
5. software process model
5. software process model5. software process model
5. software process model
 
Lesson05 relational languages sql
Lesson05 relational languages sqlLesson05 relational languages sql
Lesson05 relational languages sql
 
Lesson03 the relational model
Lesson03 the relational modelLesson03 the relational model
Lesson03 the relational model
 
Lesson10 Database security
Lesson10 Database security Lesson10 Database security
Lesson10 Database security
 
Lesson08 tm recovery
Lesson08 tm recoveryLesson08 tm recovery
Lesson08 tm recovery
 
Lesson07 e r modelling
Lesson07 e r modellingLesson07 e r modelling
Lesson07 e r modelling
 
Lesson06 database design
Lesson06 database designLesson06 database design
Lesson06 database design
 
Advanced procedures in assembly language Full chapter ppt
Advanced procedures in assembly language Full chapter pptAdvanced procedures in assembly language Full chapter ppt
Advanced procedures in assembly language Full chapter ppt
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

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