SlideShare a Scribd company logo
1 of 15
Case Study - 1
Complete Example for E/R schema: 
Specifications (1/3) 
1. In an educational institute, there are several 
departments and students belong to one of them. 
Each department has a unique department number, a 
name, a location, phone number and is headed by a 
professor. 
2. Professors have a unique employee Id, name, phone 
number. We like to keep track of the following details 
regarding students: name, unique roll number, sex, 
phone number, date of birth, age and one or more 
email addresses.
Complete Example for E/R schema: 
Specifications (2/3) 
3. Students have a local address consisting of the hostel 
name and the room number. They also have home 
address consisting of house number, street, city and 
PIN. It is assumed that all students reside in the 
hostels. 
4. A course taught in a semester of the year is called a 
section. There can be several sections of the same 
course in a semester; these are identified by the 
section number. Each section is taught by a different 
professor and has its own timings and a room to meet.
Complete Example for E/R schema: 
Specifications (3/3) 
5. Students enroll for several sections in a semester. Each 
course has a name, number of credits and the department 
that offers it. A course may have other courses as pre-requisites 
i.e, courses to be completed before it can be 
enrolled in. 
6. Professors also undertake research projects. These are 
sponsored by funding agencies and have a specific start 
date, end date and amount of money given. More than one 
professor can be involved in a project. Also a professor 
may be simultaneously working on several projects. A 
project has a unique projectId.
Entities -Student
Entities –Department and Course
Entities –Professor, Project and 
Sections
E/R Diagram showing relationships
Case Study - 2
Example COMPANY Database 
• Requirements of the Company 
(oversimplified for illustrative purposes) 
– The company is organized into 
DEPARTMENTs. Each department has a 
name, number and an employee who manages 
the department. We keep track of the start date 
of the department manager. 
– Each department controls a number of 
PROJECTs. Each project has a name, number 
and is located at a single location.
Example COMPANY Database (Cont.) 
– We store each EMPLOYEE’s social security 
number, address, salary, sex, and birthdate. 
Each employee works for one department but 
may work on several projects. We keep track of 
the number of hours per week that an employee 
currently works on each project. We also keep 
track of the direct supervisor of each employee. 
– Each employee may have a number of 
DEPENDENTs. For each dependent, we keep 
track of their name, sex, birthdate, and 
relationship to employee.
An ER schema diagram for the COMPANY database.
Exercises
Exercise - 1 
• A university registrar’s office maintains data about the following 
entities: 
– (a) Courses, including course number, title , credits, syllabus, 
and prerequisites; 
– (b) Course offerings, including course number, year, 
semester, section number, instructor's, timings, and 
classroom; 
– (c) Students, including student-id, name, and program; and 
– (d) Instructors, including identification number, name, 
department, and title. Further, the enrollment of students in 
courses and grades awarded to students in each course they 
are enrolled for must be appropriately modeled. 
Construct an E-R diagram for the registrar’s office. Document 
all assumptions that you make about the mapping 
constraints.
Exercise - 2 
• Construct an E-R diagram for a car-insurance 
company whose customers own one of more cars 
each. Each car has associated with it zero to any 
number of recorded accidents. 
• Construct an E-R diagram for a hospital with a 
set of patients and set of medical doctors. 
Associate with each patient a log of the various 
tests and examinations conducted.

More Related Content

What's hot

2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
koolkampus
 
Student result mamagement
Student result mamagementStudent result mamagement
Student result mamagement
Mickey
 

What's hot (20)

2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
3b. LMD & RMD.pdf
3b. LMD & RMD.pdf3b. LMD & RMD.pdf
3b. LMD & RMD.pdf
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Loc and function point
Loc and function pointLoc and function point
Loc and function point
 
Staffing level estimation
Staffing level estimation Staffing level estimation
Staffing level estimation
 
Anomalies in database
Anomalies in databaseAnomalies in database
Anomalies in database
 
Gui stud
Gui studGui stud
Gui stud
 
Hostel Management System Proposal Report.pdf
Hostel Management System Proposal Report.pdfHostel Management System Proposal Report.pdf
Hostel Management System Proposal Report.pdf
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Evolutionary models
Evolutionary modelsEvolutionary models
Evolutionary models
 
Part Picking Robot
Part Picking RobotPart Picking Robot
Part Picking Robot
 
Student result mamagement
Student result mamagementStudent result mamagement
Student result mamagement
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)
 
Example for ER diagram part11
Example for ER diagram part11Example for ER diagram part11
Example for ER diagram part11
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Software Engineering - Spiral Model
Software Engineering - Spiral ModelSoftware Engineering - Spiral Model
Software Engineering - Spiral Model
 
Servlet life cycle
Servlet life cycleServlet life cycle
Servlet life cycle
 

Viewers also liked (12)

Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
 
Airlines Database Design
Airlines Database DesignAirlines Database Design
Airlines Database Design
 
Mapping rules
Mapping rulesMapping rules
Mapping rules
 
Online Airway Reservation System
Online Airway Reservation SystemOnline Airway Reservation System
Online Airway Reservation System
 
Flight reservation and ticketing system ppt
Flight reservation and ticketing system pptFlight reservation and ticketing system ppt
Flight reservation and ticketing system ppt
 
Project of Airline booking system
Project of Airline booking systemProject of Airline booking system
Project of Airline booking system
 
Introduction to airline reservation systems
Introduction to airline reservation systemsIntroduction to airline reservation systems
Introduction to airline reservation systems
 
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
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation
 
Airline reservation system documentation
Airline reservation system documentationAirline reservation system documentation
Airline reservation system documentation
 
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 

Similar to 4. case study

RDBMS ERD Examples
RDBMS ERD ExamplesRDBMS ERD Examples
RDBMS ERD Examples
Sarmad Ali
 
coordinate better to learn PPT IT DEPT-Tier II SAR.pptx
coordinate better to learn PPT IT DEPT-Tier II SAR.pptxcoordinate better to learn PPT IT DEPT-Tier II SAR.pptx
coordinate better to learn PPT IT DEPT-Tier II SAR.pptx
bmit1
 
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
BUSHRASHAIKH804312
 
Summer training guidlines
Summer training guidlinesSummer training guidlines
Summer training guidlines
Aparna Singh
 
Math 221 term 1005 syllabus
Math 221 term 1005 syllabusMath 221 term 1005 syllabus
Math 221 term 1005 syllabus
Jeremiah Nazario
 
HND Assignment Brief Session Sept.docx
              HND Assignment Brief               Session Sept.docx              HND Assignment Brief               Session Sept.docx
HND Assignment Brief Session Sept.docx
joyjonna282
 
Management Information System Practice Orientations abou.docx
Management Information System Practice Orientations abou.docxManagement Information System Practice Orientations abou.docx
Management Information System Practice Orientations abou.docx
infantsuk
 
COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013
Bradley Haveman
 
Pths graduation project 2011
Pths graduation project 2011Pths graduation project 2011
Pths graduation project 2011
morristont
 
Em 501 introduction to business-course outline
Em 501 introduction to business-course outlineEm 501 introduction to business-course outline
Em 501 introduction to business-course outline
Mahmud Ahmed
 

Similar to 4. case study (20)

Ass_01_2020.pptx
Ass_01_2020.pptxAss_01_2020.pptx
Ass_01_2020.pptx
 
University management system (Credit Hour System)
University management system (Credit Hour System)University management system (Credit Hour System)
University management system (Credit Hour System)
 
RDBMS ERD Examples
RDBMS ERD ExamplesRDBMS ERD Examples
RDBMS ERD Examples
 
coordinate better to learn PPT IT DEPT-Tier II SAR.pptx
coordinate better to learn PPT IT DEPT-Tier II SAR.pptxcoordinate better to learn PPT IT DEPT-Tier II SAR.pptx
coordinate better to learn PPT IT DEPT-Tier II SAR.pptx
 
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
3-db-er_3-db-er_3-db-er_3-db-er_3-db-er.pptx
 
Summer training guidlines
Summer training guidlinesSummer training guidlines
Summer training guidlines
 
PPA Loneck final
PPA Loneck finalPPA Loneck final
PPA Loneck final
 
Qld peek 2019
Qld peek 2019Qld peek 2019
Qld peek 2019
 
HUM 3970 Spring 2016
HUM 3970 Spring 2016HUM 3970 Spring 2016
HUM 3970 Spring 2016
 
Student Record Management presentation
Student Record Management presentationStudent Record Management presentation
Student Record Management presentation
 
Math 221 term 1005 syllabus
Math 221 term 1005 syllabusMath 221 term 1005 syllabus
Math 221 term 1005 syllabus
 
HND Assignment Brief Session Sept.docx
              HND Assignment Brief               Session Sept.docx              HND Assignment Brief               Session Sept.docx
HND Assignment Brief Session Sept.docx
 
Walker-Individual Unit Plan
Walker-Individual Unit PlanWalker-Individual Unit Plan
Walker-Individual Unit Plan
 
1. University Example.pdf
1. University Example.pdf1. University Example.pdf
1. University Example.pdf
 
PGCPS Career Academy Internships
PGCPS Career Academy InternshipsPGCPS Career Academy Internships
PGCPS Career Academy Internships
 
Management Information System Practice Orientations abou.docx
Management Information System Practice Orientations abou.docxManagement Information System Practice Orientations abou.docx
Management Information System Practice Orientations abou.docx
 
COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013
 
Pths graduation project 2011
Pths graduation project 2011Pths graduation project 2011
Pths graduation project 2011
 
Em 501 introduction to business-course outline
Em 501 introduction to business-course outlineEm 501 introduction to business-course outline
Em 501 introduction to business-course outline
 
Cbu online and professional studies syllabus
Cbu online and professional studies syllabusCbu online and professional studies syllabus
Cbu online and professional studies syllabus
 

More from khoahuy82 (18)

8. sql
8. sql8. sql
8. sql
 
20. quiz
20. quiz20. quiz
20. quiz
 
1. intro
1. intro1. intro
1. intro
 
19. quiz
19. quiz19. quiz
19. quiz
 
7. transaction mang
7. transaction mang7. transaction mang
7. transaction mang
 
6. normalization
6. normalization6. normalization
6. normalization
 
5. relational structure
5. relational structure5. relational structure
5. relational structure
 
Ch6
Ch6Ch6
Ch6
 
Ch7
Ch7Ch7
Ch7
 
Ch5
Ch5Ch5
Ch5
 
Ch4
Ch4Ch4
Ch4
 
Ch3
Ch3Ch3
Ch3
 
Ch1
Ch1Ch1
Ch1
 
Ch2
Ch2Ch2
Ch2
 
Cac phuong phap tim kiem tham do
Cac phuong phap tim kiem tham doCac phuong phap tim kiem tham do
Cac phuong phap tim kiem tham do
 
07 2 chapter7-cross-section diagrams in 3 dimentions part 2-2
07 2 chapter7-cross-section diagrams in 3 dimentions part 2-207 2 chapter7-cross-section diagrams in 3 dimentions part 2-2
07 2 chapter7-cross-section diagrams in 3 dimentions part 2-2
 
01 begin & chapter1
01 begin & chapter101 begin & chapter1
01 begin & chapter1
 
06 chuong 6 moi truong ngam
06 chuong 6 moi truong ngam06 chuong 6 moi truong ngam
06 chuong 6 moi truong ngam
 

Recently uploaded

Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
amitlee9823
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
gajnagarg
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 

Recently uploaded (20)

Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 

4. case study

  • 2. Complete Example for E/R schema: Specifications (1/3) 1. In an educational institute, there are several departments and students belong to one of them. Each department has a unique department number, a name, a location, phone number and is headed by a professor. 2. Professors have a unique employee Id, name, phone number. We like to keep track of the following details regarding students: name, unique roll number, sex, phone number, date of birth, age and one or more email addresses.
  • 3. Complete Example for E/R schema: Specifications (2/3) 3. Students have a local address consisting of the hostel name and the room number. They also have home address consisting of house number, street, city and PIN. It is assumed that all students reside in the hostels. 4. A course taught in a semester of the year is called a section. There can be several sections of the same course in a semester; these are identified by the section number. Each section is taught by a different professor and has its own timings and a room to meet.
  • 4. Complete Example for E/R schema: Specifications (3/3) 5. Students enroll for several sections in a semester. Each course has a name, number of credits and the department that offers it. A course may have other courses as pre-requisites i.e, courses to be completed before it can be enrolled in. 6. Professors also undertake research projects. These are sponsored by funding agencies and have a specific start date, end date and amount of money given. More than one professor can be involved in a project. Also a professor may be simultaneously working on several projects. A project has a unique projectId.
  • 8. E/R Diagram showing relationships
  • 10. Example COMPANY Database • Requirements of the Company (oversimplified for illustrative purposes) – The company is organized into DEPARTMENTs. Each department has a name, number and an employee who manages the department. We keep track of the start date of the department manager. – Each department controls a number of PROJECTs. Each project has a name, number and is located at a single location.
  • 11. Example COMPANY Database (Cont.) – We store each EMPLOYEE’s social security number, address, salary, sex, and birthdate. Each employee works for one department but may work on several projects. We keep track of the number of hours per week that an employee currently works on each project. We also keep track of the direct supervisor of each employee. – Each employee may have a number of DEPENDENTs. For each dependent, we keep track of their name, sex, birthdate, and relationship to employee.
  • 12. An ER schema diagram for the COMPANY database.
  • 14. Exercise - 1 • A university registrar’s office maintains data about the following entities: – (a) Courses, including course number, title , credits, syllabus, and prerequisites; – (b) Course offerings, including course number, year, semester, section number, instructor's, timings, and classroom; – (c) Students, including student-id, name, and program; and – (d) Instructors, including identification number, name, department, and title. Further, the enrollment of students in courses and grades awarded to students in each course they are enrolled for must be appropriately modeled. Construct an E-R diagram for the registrar’s office. Document all assumptions that you make about the mapping constraints.
  • 15. Exercise - 2 • Construct an E-R diagram for a car-insurance company whose customers own one of more cars each. Each car has associated with it zero to any number of recorded accidents. • Construct an E-R diagram for a hospital with a set of patients and set of medical doctors. Associate with each patient a log of the various tests and examinations conducted.