SlideShare a Scribd company logo
1 of 1
Download to read offline
Database problem. Design a realtional schema based on E-R Diagram. BuildingID ResidesIn
INSPECTOR Relationship BUILDING H EF Manages ManagerID MANAGER nsID AgtNo
Locatedln APARTMENT Relationship 5,10 Cleans (1,2) SMembdID STAFF MEMBER CCID
C+ coPRCLIENT k Refers
Solution
INSPECTOR(InsID)
BUILDING(BuildingID,InsID)
APARTMENT(BuildingID,AptNo) where BuildingID and AptNo is composite primary key
COPRCLIENT(CCID,BuildingID,AptNo)
MANAGER(ManagerID,BuildingID)
STAFFMEMBER(SmembdID,BuildingID,AptNo)
primary key - underlined
foreign key -italics

More Related Content

More from mohdjakirfb

React to the following statement Knowledge is the technology wh.pdf
React to the following statement Knowledge is the technology wh.pdfReact to the following statement Knowledge is the technology wh.pdf
React to the following statement Knowledge is the technology wh.pdf
mohdjakirfb
 
please explain in detail What is the PCAOB Please explain what is t.pdf
please explain in detail What is the PCAOB Please explain what is t.pdfplease explain in detail What is the PCAOB Please explain what is t.pdf
please explain in detail What is the PCAOB Please explain what is t.pdf
mohdjakirfb
 
Match as many as you can with one another. (Not all will be used)W.pdf
Match as many as you can with one another. (Not all will be used)W.pdfMatch as many as you can with one another. (Not all will be used)W.pdf
Match as many as you can with one another. (Not all will be used)W.pdf
mohdjakirfb
 
List three branches of the United States government and write a sent.pdf
List three branches of the United States government and write a sent.pdfList three branches of the United States government and write a sent.pdf
List three branches of the United States government and write a sent.pdf
mohdjakirfb
 
John is 5 years old and was diagnosed with cystic fibrosis following.pdf
John is 5 years old and was diagnosed with cystic fibrosis following.pdfJohn is 5 years old and was diagnosed with cystic fibrosis following.pdf
John is 5 years old and was diagnosed with cystic fibrosis following.pdf
mohdjakirfb
 

More from mohdjakirfb (20)

Which microtubule (MT) population binds to chromosomes during mitosi.pdf
Which microtubule (MT) population binds to chromosomes during mitosi.pdfWhich microtubule (MT) population binds to chromosomes during mitosi.pdf
Which microtubule (MT) population binds to chromosomes during mitosi.pdf
 
React to the following statement Knowledge is the technology wh.pdf
React to the following statement Knowledge is the technology wh.pdfReact to the following statement Knowledge is the technology wh.pdf
React to the following statement Knowledge is the technology wh.pdf
 
what animals first evolved true skeletonswhat animals first .pdf
what animals first evolved true skeletonswhat animals first .pdfwhat animals first evolved true skeletonswhat animals first .pdf
what animals first evolved true skeletonswhat animals first .pdf
 
true or false Different parts of the genome evolve at different spe.pdf
true or false Different parts of the genome evolve at different spe.pdftrue or false Different parts of the genome evolve at different spe.pdf
true or false Different parts of the genome evolve at different spe.pdf
 
The brightness in the center of a Fresnel diffraction pattern. Is al.pdf
The brightness in the center of a Fresnel diffraction pattern.  Is al.pdfThe brightness in the center of a Fresnel diffraction pattern.  Is al.pdf
The brightness in the center of a Fresnel diffraction pattern. Is al.pdf
 
Should Linda’s history of past improprieties lead Maria to withdraw .pdf
Should Linda’s history of past improprieties lead Maria to withdraw .pdfShould Linda’s history of past improprieties lead Maria to withdraw .pdf
Should Linda’s history of past improprieties lead Maria to withdraw .pdf
 
Problem 4.Organisms are present in ballast water discharged from a.pdf
Problem 4.Organisms are present in ballast water discharged from a.pdfProblem 4.Organisms are present in ballast water discharged from a.pdf
Problem 4.Organisms are present in ballast water discharged from a.pdf
 
Q2. Does Application Engine Generate SQLs like Query ManagerQ7. C.pdf
Q2. Does Application Engine Generate SQLs like Query ManagerQ7. C.pdfQ2. Does Application Engine Generate SQLs like Query ManagerQ7. C.pdf
Q2. Does Application Engine Generate SQLs like Query ManagerQ7. C.pdf
 
QUESTION 6- Delay spread of optical pulses results on multimode fibe.pdf
QUESTION 6- Delay spread of optical pulses results on multimode fibe.pdfQUESTION 6- Delay spread of optical pulses results on multimode fibe.pdf
QUESTION 6- Delay spread of optical pulses results on multimode fibe.pdf
 
31.A Biased sample is one that ______a. Is too smallb. Will al.pdf
31.A Biased sample is one that ______a. Is too smallb. Will al.pdf31.A Biased sample is one that ______a. Is too smallb. Will al.pdf
31.A Biased sample is one that ______a. Is too smallb. Will al.pdf
 
Please help me Im very confused thanks Find sin 2x, cos 2x, and tan .pdf
Please help me Im very confused thanks Find sin 2x, cos 2x, and tan .pdfPlease help me Im very confused thanks Find sin 2x, cos 2x, and tan .pdf
Please help me Im very confused thanks Find sin 2x, cos 2x, and tan .pdf
 
please explain in detail What is the PCAOB Please explain what is t.pdf
please explain in detail What is the PCAOB Please explain what is t.pdfplease explain in detail What is the PCAOB Please explain what is t.pdf
please explain in detail What is the PCAOB Please explain what is t.pdf
 
Define the type of measurement for between groups designSoluti.pdf
Define the type of measurement for between groups designSoluti.pdfDefine the type of measurement for between groups designSoluti.pdf
Define the type of measurement for between groups designSoluti.pdf
 
Match as many as you can with one another. (Not all will be used)W.pdf
Match as many as you can with one another. (Not all will be used)W.pdfMatch as many as you can with one another. (Not all will be used)W.pdf
Match as many as you can with one another. (Not all will be used)W.pdf
 
Microprocessor An alarm system is to have 4 different devices, ea.pdf
Microprocessor An alarm system is to have 4 different devices, ea.pdfMicroprocessor An alarm system is to have 4 different devices, ea.pdf
Microprocessor An alarm system is to have 4 different devices, ea.pdf
 
List three branches of the United States government and write a sent.pdf
List three branches of the United States government and write a sent.pdfList three branches of the United States government and write a sent.pdf
List three branches of the United States government and write a sent.pdf
 
John is 5 years old and was diagnosed with cystic fibrosis following.pdf
John is 5 years old and was diagnosed with cystic fibrosis following.pdfJohn is 5 years old and was diagnosed with cystic fibrosis following.pdf
John is 5 years old and was diagnosed with cystic fibrosis following.pdf
 
In the previous years, 2004 and 2005 Nationwide paid out more than $.pdf
In the previous years, 2004 and 2005 Nationwide paid out more than $.pdfIn the previous years, 2004 and 2005 Nationwide paid out more than $.pdf
In the previous years, 2004 and 2005 Nationwide paid out more than $.pdf
 
Identify the extensor digitorum longus muscle. Solution1.The e.pdf
Identify the extensor digitorum longus muscle.  Solution1.The e.pdfIdentify the extensor digitorum longus muscle.  Solution1.The e.pdf
Identify the extensor digitorum longus muscle. Solution1.The e.pdf
 
If the sensitivity of the system is indeed low, can the data set sti.pdf
If the sensitivity of the system is indeed low, can the data set sti.pdfIf the sensitivity of the system is indeed low, can the data set sti.pdf
If the sensitivity of the system is indeed low, can the data set sti.pdf
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 

Database problem. Design a realtional schema based on E-R Diagram. B.pdf

  • 1. Database problem. Design a realtional schema based on E-R Diagram. BuildingID ResidesIn INSPECTOR Relationship BUILDING H EF Manages ManagerID MANAGER nsID AgtNo Locatedln APARTMENT Relationship 5,10 Cleans (1,2) SMembdID STAFF MEMBER CCID C+ coPRCLIENT k Refers Solution INSPECTOR(InsID) BUILDING(BuildingID,InsID) APARTMENT(BuildingID,AptNo) where BuildingID and AptNo is composite primary key COPRCLIENT(CCID,BuildingID,AptNo) MANAGER(ManagerID,BuildingID) STAFFMEMBER(SmembdID,BuildingID,AptNo) primary key - underlined foreign key -italics