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

Database Administration
Database AdministrationDatabase Administration
Database Administration
Bilal Arshad
 
The Databases applications in government sections
The Databases applications in government sectionsThe Databases applications in government sections
The Databases applications in government sections
Monzer Osama Alchikh WARAK
 
Ch1
Ch1Ch1
Database administration and security
Database administration and securityDatabase administration and security
Database administration and securityMohd 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 designemailharmeet
 
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
Alpro
 
Database
DatabaseDatabase
Database
santoshsaini22
 
Web Database integration
Web Database integrationWeb Database integration
Web Database integration
UmArKaWiSh
 
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 DatabasesRaminder Pal Singh
 
Database Administrator - Job Scope
Database Administrator - Job ScopeDatabase Administrator - Job Scope
Database Administrator - Job Scope
CacheWorks©
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
CS_GDRCST
 
Data flow diagram part7
Data flow diagram part7Data flow diagram part7
Data flow diagram part7
DrMohammed Qassim
 
Database administrator types
Database administrator typesDatabase administrator types
Database administrator types
michel9
 
StoreGrid : Introduction & Features
StoreGrid : Introduction & FeaturesStoreGrid : Introduction & Features
StoreGrid : Introduction & FeaturesRevolucion
 
University electronic management system
University electronic management systemUniversity electronic management system
University electronic management systemAleksey Lashin
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
Bilal Arshad
 

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

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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
Module-1.pptx
Module-1.pptxModule-1.pptx
Module-1.pptx
SridharChowdary10
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database system Handbook.pdf
Database system Handbook.pdfDatabase system Handbook.pdf
Database system Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 
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
Bahria University Islamabad, Pakistan
 

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 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
 
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
 
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

What is organizational behavior
What is organizational behaviorWhat is organizational behavior
What is organizational behavior
Muhammad Sikandar Mustafa
 
11. estimation-1
11. estimation-111. estimation-1
11. estimation-1
Muhammad Sikandar Mustafa
 
9. risk-management
9. risk-management9. risk-management
9. risk-management
Muhammad Sikandar Mustafa
 
8. project-management
8. project-management8. project-management
8. project-management
Muhammad Sikandar Mustafa
 
7. requirement-engineering
7. requirement-engineering7. requirement-engineering
7. requirement-engineering
Muhammad Sikandar Mustafa
 
6. software requirements
6. software requirements6. software requirements
6. software requirements
Muhammad Sikandar Mustafa
 
software process
software process software process
software process
Muhammad Sikandar Mustafa
 
software myths
software mythssoftware myths
software characteristics
software characteristicssoftware characteristics
software characteristics
Muhammad Sikandar Mustafa
 
overview introduction to Software Engineering
overview introduction to Software Engineeringoverview introduction to Software Engineering
overview introduction to Software Engineering
Muhammad Sikandar Mustafa
 
5. software process model
5. software process model5. software process model
5. software process model
Muhammad Sikandar Mustafa
 
Lesson05 relational languages sql
Lesson05 relational languages sqlLesson05 relational languages sql
Lesson05 relational languages sql
Muhammad Sikandar Mustafa
 
Lesson03 the relational model
Lesson03 the relational modelLesson03 the relational model
Lesson03 the relational model
Muhammad Sikandar Mustafa
 
Lesson10 Database security
Lesson10 Database security Lesson10 Database security
Lesson10 Database security
Muhammad Sikandar Mustafa
 
Lesson08 tm recovery
Lesson08 tm recoveryLesson08 tm recovery
Lesson08 tm recovery
Muhammad Sikandar Mustafa
 
Lesson07 e r modelling
Lesson07 e r modellingLesson07 e r modelling
Lesson07 e r modelling
Muhammad Sikandar Mustafa
 
Lesson06 database design
Lesson06 database designLesson06 database design
Lesson06 database design
Muhammad Sikandar Mustafa
 
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
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

Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 

Recently uploaded (20)

Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 

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