SlideShare a Scribd company logo
 
Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright © 2004 Pearson Education, Inc.
Chapter Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example COMPANY Database ,[object Object],[object Object],[object Object]
Example COMPANY Database (Cont.) ,[object Object],[object Object]
ER Model Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object]
Types of Attributes (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Types of Attributes (2) ,[object Object]
Entity Types and Key Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ENTITY SET corresponding to the ENTITY TYPE CAR car 1 ((ABC 123, TEXAS), TK629, Ford Mustang, convertible, 1999, {red, black}) car 2 ((ABC 123, NEW YORK), WP9872, Nissan 300ZX, 2-door, 2002, {blue}) car 3 ((VSY 720, TEXAS), TD729, Buick LeSabre, 4-door, 2003, {white, blue}) . . . CAR Registration(RegistrationNumber, State), VehicleID, Make, Model, Year, {Color}
SUMMARY OF ER-DIAGRAM  NOTATION FOR ER SCHEMAS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Symbol R E 2 E 1 R E 2 R (min,max) E N E 1
ER DIAGRAM – Entity Types are: EMPLOYEE, DEPARTMENT, PROJECT, DEPENDENT
Relationships and Relationship Types (1) ,[object Object],[object Object],[object Object]
Example relationship instances of the WORKS_FOR relationship between EMPLOYEE and DEPARTMENT e 1   e 2   e 3   e 4   e 5   e 6   e 7   EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 r 7 WORKS_FOR    d 1    d 2    d 3 DEPARTMENT
Example relationship instances of the WORKS_ON relationship between EMPLOYEE and PROJECT e 1   e 2   e 3   e 4   e 5   e 6   e 7   r 1 r 2 r 3 r 4 r 5 r 6 r 7    p 1    p 2    p 3 r 8 r 9
Relationships and Relationship Types (2) ,[object Object]
ER DIAGRAM – Relationship Types are: WORKS_FOR, MANAGES, WORKS_ON, CONTROLS, SUPERVISION, DEPENDENTS_OF
Weak Entity Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Weak Entity Type is:  DEPENDENT Identifying Relationship is:  DEPENDENTS_OF
Constraints on Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Many-to-one (N:1) RELATIONSHIP e 1   e 2   e 3   e 4   e 5   e 6   e 7   EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 r 7 WORKS_FOR    d 1    d 2    d 3 DEPARTMENT
Many-to-many (M:N) RELATIONSHIP e 1   e 2   e 3   e 4   e 5   e 6   e 7   r 1 r 2 r 3 r 4 r 5 r 6 r 7    p 1    p 2    p 3 r 8 r 9
Relationships and Relationship Types (3) ,[object Object],[object Object],[object Object],[object Object],[object Object]
A RECURSIVE RELATIONSHIP  SUPERVISION e 1   e 2   e 3   e 4   e 5   e 6   e 7   EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 SUPERVISION 2 1 1 2 2 1 1 1 2 1 2 2 © The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition
Recursive Relationship Type is:  SUPERVISION (participation role names are shown)
Attributes of Relationship types ,[object Object]
Attribute of a Relationship Type is:  Hours of WORKS_ON
Structural Constraints –  one way to express semantics  of relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Alternative (min, max) notation for relationship structural constraints: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The (min,max) notation relationship constraints Employee Department Manages (1,1) (0,1) Employee Department Works-for (1,N) (1,1)
COMPANY ER Schema Diagram  using (min, max) notation
Relationships of Higher Degree ,[object Object],[object Object],[object Object],[object Object]
Data Modeling Tools ,[object Object],[object Object]
Problems with Current Modeling Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Some of the Currently Available Automated Database  Design Tools Data modeling, design and reengineering Visual Basic and Visual C++ Visio Enterprise Visio Data modeling, business logic modeling Enterprise Application Suite Sybase Conceptual modeling up to code maintenance Xcase Resolution Ltd. Mapping from O-O to relational model RW Metro Rogue Ware Modeling in UML and application generation in C++ and JAVA Rational Rose Rational Mapping from O-O to relational model Pwertier Persistence Inc. Data, process, and business component modeling Platinum Enterprice Modeling Suite: Erwin, BPWin, Paradigm Plus Platinum Technology Data modeling, object modeling, process modeling, structured analysis/design System Architect 2001 Popkin Software Database modeling, application development Developer 2000 and Designer 2000 Oracle Database administration and space and security management DB Artisan Database Modeling in ER and IDEF1X ER Studio Embarcadero Technologies FUNCTIONALITY TOOL COMPANY
ER DIAGRAM FOR A BANK  DATABASE © The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition
PROBLEM with ER notation ,[object Object]
Extended Entity-Relationship (EER) Model ,[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Database Chapter 3
Database Chapter 3Database Chapter 3
Database Chapter 3
shahadat hossain
 
Star schema
Star schemaStar schema
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
 
Chapter2
Chapter2Chapter2
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
Nishant Munjal
 
Physical database design(database)
Physical database design(database)Physical database design(database)
Physical database design(database)
welcometofacebook
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
Prabhu Goyal
 
Relational model
Relational modelRelational model
Relational model
Dabbal Singh Mahara
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
Mudasir Qazi
 
Database basics
Database basicsDatabase basics
Database basics
prachin514
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
BIT Durg
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
sontumax
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
Jotham Gadot
 
database
databasedatabase
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
Surkhab Shelly
 

What's hot (20)

Database Chapter 3
Database Chapter 3Database Chapter 3
Database Chapter 3
 
Star schema
Star schemaStar schema
Star schema
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Chapter2
Chapter2Chapter2
Chapter2
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Physical database design(database)
Physical database design(database)Physical database design(database)
Physical database design(database)
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
 
Relational model
Relational modelRelational model
Relational model
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
 
Database basics
Database basicsDatabase basics
Database basics
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
Data models
Data modelsData models
Data models
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
database
databasedatabase
database
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 

Viewers also liked

Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
tameemyousaf
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2
sadeenedian08
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
Jafar Nesargi
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
Tech_MX
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
koolkampus
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
Nidhi Sharma
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
Shashi Patel
 
Install oracle11gr2 rhel5
Install oracle11gr2 rhel5Install oracle11gr2 rhel5
Install oracle11gr2 rhel5
Edouard Anderson
 
Solaris 10-installation-guide-solaris-flash-archives2794
Solaris 10-installation-guide-solaris-flash-archives2794Solaris 10-installation-guide-solaris-flash-archives2794
Solaris 10-installation-guide-solaris-flash-archives2794
nirmal1984
 
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
finitsolutions
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
CHANDRA BHUSHAN
 
IT Certifications in Demand for 2012 | Best Certs to Get a Job
IT Certifications in Demand for 2012 | Best Certs to Get a JobIT Certifications in Demand for 2012 | Best Certs to Get a Job
IT Certifications in Demand for 2012 | Best Certs to Get a Job
ITCareerFinder
 
Er & eer to relational mapping
Er & eer to relational mappingEr & eer to relational mapping
Er & eer to relational mapping
saurabhshertukde
 
dbms
dbmsdbms
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
satheesh hendhino
 
E R Model Diagram of DBMS
E R Model Diagram of DBMSE R Model Diagram of DBMS
E R Model Diagram of DBMS
Muhammad Usman
 
E R Diagram
E R DiagramE R Diagram
E R Diagram
guestb401c8
 
Tips and Tricks of Toad for Oracle 10.6
Tips and Tricks of Toad for Oracle 10.6Tips and Tricks of Toad for Oracle 10.6
Tips and Tricks of Toad for Oracle 10.6
Dsunte Wilson
 
Solaris vs Linux
Solaris vs LinuxSolaris vs Linux
Solaris vs Linux
Grigale LTD
 
SQL Joins
SQL JoinsSQL Joins
SQL Joins
Paul Harkins
 

Viewers also liked (20)

Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
 
Install oracle11gr2 rhel5
Install oracle11gr2 rhel5Install oracle11gr2 rhel5
Install oracle11gr2 rhel5
 
Solaris 10-installation-guide-solaris-flash-archives2794
Solaris 10-installation-guide-solaris-flash-archives2794Solaris 10-installation-guide-solaris-flash-archives2794
Solaris 10-installation-guide-solaris-flash-archives2794
 
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
Finit Solutions - What is New in Hyperion Financial Management 11.1.2.2
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
 
IT Certifications in Demand for 2012 | Best Certs to Get a Job
IT Certifications in Demand for 2012 | Best Certs to Get a JobIT Certifications in Demand for 2012 | Best Certs to Get a Job
IT Certifications in Demand for 2012 | Best Certs to Get a Job
 
Er & eer to relational mapping
Er & eer to relational mappingEr & eer to relational mapping
Er & eer to relational mapping
 
dbms
dbmsdbms
dbms
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
 
E R Model Diagram of DBMS
E R Model Diagram of DBMSE R Model Diagram of DBMS
E R Model Diagram of DBMS
 
E R Diagram
E R DiagramE R Diagram
E R Diagram
 
Tips and Tricks of Toad for Oracle 10.6
Tips and Tricks of Toad for Oracle 10.6Tips and Tricks of Toad for Oracle 10.6
Tips and Tricks of Toad for Oracle 10.6
 
Solaris vs Linux
Solaris vs LinuxSolaris vs Linux
Solaris vs Linux
 
SQL Joins
SQL JoinsSQL Joins
SQL Joins
 

Similar to 03 Ch3 Notes Revised

Chapter3
Chapter3Chapter3
Chapter3
Jafar Nesargi
 
Chapter3
Chapter3Chapter3
Chapter3
Jafar Nesargi
 
02er
02er02er
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Mustafa Kamel Mohammadi
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledge
Asma Rasool
 
27 fcs157al3
27 fcs157al327 fcs157al3
27 fcs157al3
CHANDRA BHUSHAN
 
ECEG 4702-Class7-Entity-Relationship modeling.pptx
ECEG 4702-Class7-Entity-Relationship modeling.pptxECEG 4702-Class7-Entity-Relationship modeling.pptx
ECEG 4702-Class7-Entity-Relationship modeling.pptx
miftah88
 
Unit02 dbms
Unit02 dbmsUnit02 dbms
Unit02 dbms
arnold 7490
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
prosofts1
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
parimala123
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Model
sontumax
 
E R Model details.ppt
E R Model details.pptE R Model details.ppt
E R Model details.ppt
ShivareddyGangam
 
Unit 3 final.pptx
Unit 3 final.pptxUnit 3 final.pptx
Unit 3 final.pptx
MaximusAranha
 
ER model
ER modelER model
ER model
paddu123
 
Er model
Er modelEr model
Er model
paddu123
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
fikadumola
 
Pertemuan-4------------------------------------------------
Pertemuan-4------------------------------------------------Pertemuan-4------------------------------------------------
Pertemuan-4------------------------------------------------
keishaangelina2
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
Kumar
 
Test presentation
Test presentationTest presentation
Test presentation
nuvole
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
guest1e0229a
 

Similar to 03 Ch3 Notes Revised (20)

Chapter3
Chapter3Chapter3
Chapter3
 
Chapter3
Chapter3Chapter3
Chapter3
 
02er
02er02er
02er
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledge
 
27 fcs157al3
27 fcs157al327 fcs157al3
27 fcs157al3
 
ECEG 4702-Class7-Entity-Relationship modeling.pptx
ECEG 4702-Class7-Entity-Relationship modeling.pptxECEG 4702-Class7-Entity-Relationship modeling.pptx
ECEG 4702-Class7-Entity-Relationship modeling.pptx
 
Unit02 dbms
Unit02 dbmsUnit02 dbms
Unit02 dbms
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Model
 
E R Model details.ppt
E R Model details.pptE R Model details.ppt
E R Model details.ppt
 
Unit 3 final.pptx
Unit 3 final.pptxUnit 3 final.pptx
Unit 3 final.pptx
 
ER model
ER modelER model
ER model
 
Er model
Er modelEr model
Er model
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
 
Pertemuan-4------------------------------------------------
Pertemuan-4------------------------------------------------Pertemuan-4------------------------------------------------
Pertemuan-4------------------------------------------------
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
 
Test presentation
Test presentationTest presentation
Test presentation
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
 

Recently uploaded

Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 

Recently uploaded (20)

Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 

03 Ch3 Notes Revised

  • 1.  
  • 2. Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright © 2004 Pearson Education, Inc.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. ENTITY SET corresponding to the ENTITY TYPE CAR car 1 ((ABC 123, TEXAS), TK629, Ford Mustang, convertible, 1999, {red, black}) car 2 ((ABC 123, NEW YORK), WP9872, Nissan 300ZX, 2-door, 2002, {blue}) car 3 ((VSY 720, TEXAS), TD729, Buick LeSabre, 4-door, 2003, {white, blue}) . . . CAR Registration(RegistrationNumber, State), VehicleID, Make, Model, Year, {Color}
  • 11.
  • 12. ER DIAGRAM – Entity Types are: EMPLOYEE, DEPARTMENT, PROJECT, DEPENDENT
  • 13.
  • 14. Example relationship instances of the WORKS_FOR relationship between EMPLOYEE and DEPARTMENT e 1  e 2  e 3  e 4  e 5  e 6  e 7  EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 r 7 WORKS_FOR  d 1  d 2  d 3 DEPARTMENT
  • 15. Example relationship instances of the WORKS_ON relationship between EMPLOYEE and PROJECT e 1  e 2  e 3  e 4  e 5  e 6  e 7  r 1 r 2 r 3 r 4 r 5 r 6 r 7  p 1  p 2  p 3 r 8 r 9
  • 16.
  • 17. ER DIAGRAM – Relationship Types are: WORKS_FOR, MANAGES, WORKS_ON, CONTROLS, SUPERVISION, DEPENDENTS_OF
  • 18.
  • 19. Weak Entity Type is: DEPENDENT Identifying Relationship is: DEPENDENTS_OF
  • 20.
  • 21. Many-to-one (N:1) RELATIONSHIP e 1  e 2  e 3  e 4  e 5  e 6  e 7  EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 r 7 WORKS_FOR  d 1  d 2  d 3 DEPARTMENT
  • 22. Many-to-many (M:N) RELATIONSHIP e 1  e 2  e 3  e 4  e 5  e 6  e 7  r 1 r 2 r 3 r 4 r 5 r 6 r 7  p 1  p 2  p 3 r 8 r 9
  • 23.
  • 24. A RECURSIVE RELATIONSHIP SUPERVISION e 1  e 2  e 3  e 4  e 5  e 6  e 7  EMPLOYEE r 1 r 2 r 3 r 4 r 5 r 6 SUPERVISION 2 1 1 2 2 1 1 1 2 1 2 2 © The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition
  • 25. Recursive Relationship Type is: SUPERVISION (participation role names are shown)
  • 26.
  • 27. Attribute of a Relationship Type is: Hours of WORKS_ON
  • 28.
  • 29.
  • 30. The (min,max) notation relationship constraints Employee Department Manages (1,1) (0,1) Employee Department Works-for (1,N) (1,1)
  • 31. COMPANY ER Schema Diagram using (min, max) notation
  • 32.
  • 33.
  • 34.
  • 35. Some of the Currently Available Automated Database Design Tools Data modeling, design and reengineering Visual Basic and Visual C++ Visio Enterprise Visio Data modeling, business logic modeling Enterprise Application Suite Sybase Conceptual modeling up to code maintenance Xcase Resolution Ltd. Mapping from O-O to relational model RW Metro Rogue Ware Modeling in UML and application generation in C++ and JAVA Rational Rose Rational Mapping from O-O to relational model Pwertier Persistence Inc. Data, process, and business component modeling Platinum Enterprice Modeling Suite: Erwin, BPWin, Paradigm Plus Platinum Technology Data modeling, object modeling, process modeling, structured analysis/design System Architect 2001 Popkin Software Database modeling, application development Developer 2000 and Designer 2000 Oracle Database administration and space and security management DB Artisan Database Modeling in ER and IDEF1X ER Studio Embarcadero Technologies FUNCTIONALITY TOOL COMPANY
  • 36. ER DIAGRAM FOR A BANK DATABASE © The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition
  • 37.
  • 38.