SlideShare a Scribd company logo
1
Figure 2-8: Entity with a multivalued attribute (Skill) and
derived attribute (Years_Employed)
2
Ch 4: Problems and Exercises 1a
Employee_ID Employee_Name Address Date_Employed
Employee_ID Skill
EMPLOYEE_SKILL
EMPLOYEE
3
Fig 2-9b: Composite key attribute
4
Ch 4: Problems and Exercises 1b
Flight_Number Date Number_of_Passengers
FLIGHT
5
Fig 2-11a: A binary relationship with an attribute
6
Ch 4: Problems and Exercises 1c
Employee_ID Employee_Name
EMPLOYEE
Employee_ID Course_ID Date_Completed
COMPLETION
COURSE
Course_ID Course_Title
7
Fig 2-11b: An associative entity (CERTIFICATE)
8
Ch 4: Problems and Exercises 1d
Employee_ID Employee_Name
EMPLOYEE
Certificate_Number Employee_ID Course_ID Date_Completed
CERTIFICATE
COURSE Course_ID Course_Title
9
Fig 2-15a: Unary relationship
COURSE
Course_Title
Course_ID
Is_
prerequisite_
for
10
Ch 4: Problems and Exercises 1e
Course_IDCOURSE
Course_ID Prerequisite_IDCOURSE_PREREQUISITE
Course_Title
11
Fig 2-16 (b) Relationship with cardinality constraints
Note: The diagram is incomplete. Usually, there will be other non-key
attributes for the entities.
12
Movie_Name
MOVIE
Copy_Number Movie_Name
VIDEOTAPE
Ch 4: Problems and Exercises 1g
13
Fig 2-19: Example of time stamping
14
Ch 4: Problems and Exercises 1h
Product_IDPRODUCT
Product_ID Effective_Date PricePRODUCT_PRICE
15
Figure 3-6b: Partial specialization rule
Note: The diagram is incomplete. It is missing the subtype discriminator.
16
Ch 4: Problems and Exercises 2a
Vehicle_ID Price Make Model Engine_Displacement
VEHICLE
C_Vehicle_ID No_of_Passengers
CAR
T_Vehicle_ID Car_Type Capacity
TRUCK
17
(a) Disjoint rule
Figure 3-7: Examples of disjointness constraints
Note: The diagram is incomplete. It is missing the subtype discriminator.
18
Ch 4: Problems and Exercises 2b
Physician_ID
RESPONSIBLE_PHYSICIAN
Patient_ID Admit_Date Physician_ID
PATIENT
O_Patient_ID Checkback_Date
OUTPATIENT
R_Patient_ID
RESIDENT_PATIENT
Bed_ID
BED
Patient_Name
Date_Discharged Bed_ID
19
Figure 3-9: Subtype discriminator (overlap rule)
Note: The diagram is incomplete. There should be unique attributes for the subtypes.
20
Ch 4: Problems and Exercises 2c
Part_No Description Location Manufactured? Purchased? Qty_on_Hand
PART
M_Part_No
MANUFACTURED_PART
P_Part_No
PURCHASED_PART
P_Part_No Supplier_ID Unit_Price
SUPPLY_LINE
Supplier_ID Supplier_Name
SUPPLIER
21
Figure 3-10: Example of supertype/subtype hierarchy
Note: The diagram is incomplete and missing the subtype discriminators.
22
Ch 4: Problems and Exercises 2d
SSN Name Address Gender Date_of_Birth
PERSON
E_SSN Salary Date_Hired
EMPLOYEE
F_SSN Rank
FACULTY
S_SSN Position
STAFF
ALUMNUS
A_SSN
ST_SSN Major_Dept
STUDENT
UNDERGRAD
US_SSN Class_Standing
A_SSN Degree Year Date
DEGREES
GS_SSN Test_Score
GRADUATE
Ch 4: Problems and Exercises 13a
23
Parking Ticket table in 1NF
Ch 4: Problems and Exercises 13b
24
Functional Dependencies of the Parking Ticket table – 1NF
PARKING
Ch 4: Problems and Exercises 13c
25
Functional Dependencies of the Parking Ticket table – 2NF
STID
Ch 4: Problems and Exercises 13d
26
Functional Dependencies of the Parking Ticket table – 3NF
STID

More Related Content

What's hot

04. manipulasi data perintah insert
04. manipulasi data   perintah insert04. manipulasi data   perintah insert
04. manipulasi data perintah insert
Fakhrian Fadlia Adiwijaya
 
Sub query_SQL
Sub query_SQLSub query_SQL
Sub query_SQL
CoT
 
SQL Queries - DDL Commands
SQL Queries - DDL CommandsSQL Queries - DDL Commands
SQL Queries - DDL Commands
ShubhamBauddh
 
OLAP
OLAPOLAP
Dbms Final Examination Answer Key
Dbms Final Examination Answer KeyDbms Final Examination Answer Key
Dbms Final Examination Answer Key
Laguna State Polytechnic University
 
data manipulation language
data manipulation languagedata manipulation language
data manipulation language
JananiSelvaraj10
 

What's hot (6)

04. manipulasi data perintah insert
04. manipulasi data   perintah insert04. manipulasi data   perintah insert
04. manipulasi data perintah insert
 
Sub query_SQL
Sub query_SQLSub query_SQL
Sub query_SQL
 
SQL Queries - DDL Commands
SQL Queries - DDL CommandsSQL Queries - DDL Commands
SQL Queries - DDL Commands
 
OLAP
OLAPOLAP
OLAP
 
Dbms Final Examination Answer Key
Dbms Final Examination Answer KeyDbms Final Examination Answer Key
Dbms Final Examination Answer Key
 
data manipulation language
data manipulation languagedata manipulation language
data manipulation language
 

Viewers also liked

Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)welcometofacebook
 
Mapping Relational Databases to Linked Data
Mapping Relational Databases to Linked DataMapping Relational Databases to Linked Data
Mapping Relational Databases to Linked Data
EUCLID project
 
Database Project
Database ProjectDatabase Project
Database Project
Valerii Klymchuk
 
DATABASE Fp304 chapter 1
DATABASE Fp304   chapter 1DATABASE Fp304   chapter 1
DATABASE Fp304 chapter 1Radio Deejay
 
Source code for search engine(database)
Source code for search engine(database)Source code for search engine(database)
Source code for search engine(database)welcometofacebook
 
database design intro(database)
database design intro(database)database design intro(database)
database design intro(database)welcometofacebook
 
Source code for view details(database)
Source code for view details(database)Source code for view details(database)
Source code for view details(database)welcometofacebook
 
Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)welcometofacebook
 
Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)welcometofacebook
 

Viewers also liked (20)

Solution2(database)
Solution2(database)Solution2(database)
Solution2(database)
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
Solution3(database)
Solution3(database)Solution3(database)
Solution3(database)
 
Solution1(database)
Solution1(database)Solution1(database)
Solution1(database)
 
Solution4 1(database)
Solution4 1(database)Solution4 1(database)
Solution4 1(database)
 
Mapping Relational Databases to Linked Data
Mapping Relational Databases to Linked DataMapping Relational Databases to Linked Data
Mapping Relational Databases to Linked Data
 
Database Project
Database ProjectDatabase Project
Database Project
 
DATABASE Fp304 chapter 1
DATABASE Fp304   chapter 1DATABASE Fp304   chapter 1
DATABASE Fp304 chapter 1
 
Source code for search engine(database)
Source code for search engine(database)Source code for search engine(database)
Source code for search engine(database)
 
Exercise6(database)
Exercise6(database)Exercise6(database)
Exercise6(database)
 
Solution6(database)
Solution6(database)Solution6(database)
Solution6(database)
 
Exercise3(database)
Exercise3(database)Exercise3(database)
Exercise3(database)
 
Solution5(database)
Solution5(database)Solution5(database)
Solution5(database)
 
database design intro(database)
database design intro(database)database design intro(database)
database design intro(database)
 
Exercise5(database)
Exercise5(database)Exercise5(database)
Exercise5(database)
 
Exercise1(database)
Exercise1(database)Exercise1(database)
Exercise1(database)
 
Source code for view details(database)
Source code for view details(database)Source code for view details(database)
Source code for view details(database)
 
Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)
 
Exercise4(database)
Exercise4(database)Exercise4(database)
Exercise4(database)
 
Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)
 

Similar to Solution4(database)

1. What two conditions must be met before an entity can be classif.docx
1. What two conditions must be met before an entity can be classif.docx1. What two conditions must be met before an entity can be classif.docx
1. What two conditions must be met before an entity can be classif.docx
jackiewalcutt
 
1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals
Lydi00147
 
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptxDB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
ZahouAmel1
 
Medium Questions
Medium QuestionsMedium Questions
Medium Questions
Tanat Tonguthaisri
 
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdfgratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
NarReg
 
1 z1 051
1 z1 0511 z1 051
1 z1 051
AHMED ENNAJI
 
Solution of Erds
Solution of ErdsSolution of Erds
Solution of Erds
Shakila Mahjabin
 
Time card system
Time card systemTime card system
Time card system
Smit Patel
 
Online rto management system
Online rto management system Online rto management system
Online rto management system
DigneshPrajapati1
 

Similar to Solution4(database) (12)

1. What two conditions must be met before an entity can be classif.docx
1. What two conditions must be met before an entity can be classif.docx1. What two conditions must be met before an entity can be classif.docx
1. What two conditions must be met before an entity can be classif.docx
 
1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals
 
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptxDB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
DB-Lec1.pptxUpdatedpython.pptxUpdatedpython.pptx
 
Medium Questions
Medium QuestionsMedium Questions
Medium Questions
 
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdfgratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
 
sudah selesai
sudah selesaisudah selesai
sudah selesai
 
1 z1 051
1 z1 0511 z1 051
1 z1 051
 
Solution of Erds
Solution of ErdsSolution of Erds
Solution of Erds
 
Time card system
Time card systemTime card system
Time card system
 
Online rto management system
Online rto management system Online rto management system
Online rto management system
 
Employee table
Employee tableEmployee table
Employee table
 
Employee table
Employee tableEmployee table
Employee table
 

More from welcometofacebook

Quantitative exercise-toasty oven
Quantitative exercise-toasty ovenQuantitative exercise-toasty oven
Quantitative exercise-toasty ovenwelcometofacebook
 
EVC exercise-novel motor oil
EVC exercise-novel motor oilEVC exercise-novel motor oil
EVC exercise-novel motor oilwelcometofacebook
 
cltv calculation-calyx corolla
cltv calculation-calyx corolla cltv calculation-calyx corolla
cltv calculation-calyx corolla welcometofacebook
 
competing in a global market(4210)
competing in a global market(4210)competing in a global market(4210)
competing in a global market(4210)welcometofacebook
 
distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)welcometofacebook
 
distribution strategies(4210)
distribution strategies(4210)distribution strategies(4210)
distribution strategies(4210)welcometofacebook
 
product and brand strategies(4210)
product and brand strategies(4210)product and brand strategies(4210)
product and brand strategies(4210)welcometofacebook
 
overview of marketing strategy(4210)
overview of marketing strategy(4210)overview of marketing strategy(4210)
overview of marketing strategy(4210)welcometofacebook
 
Class+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keyClass+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keywelcometofacebook
 

More from welcometofacebook (20)

Quantitative exercise-toasty oven
Quantitative exercise-toasty ovenQuantitative exercise-toasty oven
Quantitative exercise-toasty oven
 
EVC exercise-novel motor oil
EVC exercise-novel motor oilEVC exercise-novel motor oil
EVC exercise-novel motor oil
 
jones blair calculations
jones blair calculationsjones blair calculations
jones blair calculations
 
EVC exercise-odi case
EVC exercise-odi caseEVC exercise-odi case
EVC exercise-odi case
 
cltv calculation-calyx corolla
cltv calculation-calyx corolla cltv calculation-calyx corolla
cltv calculation-calyx corolla
 
consumer behavior(4210)
consumer behavior(4210)consumer behavior(4210)
consumer behavior(4210)
 
competing in a global market(4210)
competing in a global market(4210)competing in a global market(4210)
competing in a global market(4210)
 
promotion strategies(4210)
promotion strategies(4210)promotion strategies(4210)
promotion strategies(4210)
 
pricing strategies(4210)
pricing strategies(4210)pricing strategies(4210)
pricing strategies(4210)
 
Pharmasim
PharmasimPharmasim
Pharmasim
 
distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)
 
distribution strategies(4210)
distribution strategies(4210)distribution strategies(4210)
distribution strategies(4210)
 
the birth of swatch(4210)
the birth of swatch(4210)the birth of swatch(4210)
the birth of swatch(4210)
 
product and brand strategies(4210)
product and brand strategies(4210)product and brand strategies(4210)
product and brand strategies(4210)
 
stp case jones blair(4210)
stp case jones blair(4210)stp case jones blair(4210)
stp case jones blair(4210)
 
stp(4210)
stp(4210)stp(4210)
stp(4210)
 
situational analysis(4210)
situational analysis(4210)situational analysis(4210)
situational analysis(4210)
 
quantitative analysis(4210)
quantitative analysis(4210)quantitative analysis(4210)
quantitative analysis(4210)
 
overview of marketing strategy(4210)
overview of marketing strategy(4210)overview of marketing strategy(4210)
overview of marketing strategy(4210)
 
Class+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keyClass+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+key
 

Recently uploaded

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 

Recently uploaded (20)

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 

Solution4(database)

  • 1. 1 Figure 2-8: Entity with a multivalued attribute (Skill) and derived attribute (Years_Employed)
  • 2. 2 Ch 4: Problems and Exercises 1a Employee_ID Employee_Name Address Date_Employed Employee_ID Skill EMPLOYEE_SKILL EMPLOYEE
  • 3. 3 Fig 2-9b: Composite key attribute
  • 4. 4 Ch 4: Problems and Exercises 1b Flight_Number Date Number_of_Passengers FLIGHT
  • 5. 5 Fig 2-11a: A binary relationship with an attribute
  • 6. 6 Ch 4: Problems and Exercises 1c Employee_ID Employee_Name EMPLOYEE Employee_ID Course_ID Date_Completed COMPLETION COURSE Course_ID Course_Title
  • 7. 7 Fig 2-11b: An associative entity (CERTIFICATE)
  • 8. 8 Ch 4: Problems and Exercises 1d Employee_ID Employee_Name EMPLOYEE Certificate_Number Employee_ID Course_ID Date_Completed CERTIFICATE COURSE Course_ID Course_Title
  • 9. 9 Fig 2-15a: Unary relationship COURSE Course_Title Course_ID Is_ prerequisite_ for
  • 10. 10 Ch 4: Problems and Exercises 1e Course_IDCOURSE Course_ID Prerequisite_IDCOURSE_PREREQUISITE Course_Title
  • 11. 11 Fig 2-16 (b) Relationship with cardinality constraints Note: The diagram is incomplete. Usually, there will be other non-key attributes for the entities.
  • 13. 13 Fig 2-19: Example of time stamping
  • 14. 14 Ch 4: Problems and Exercises 1h Product_IDPRODUCT Product_ID Effective_Date PricePRODUCT_PRICE
  • 15. 15 Figure 3-6b: Partial specialization rule Note: The diagram is incomplete. It is missing the subtype discriminator.
  • 16. 16 Ch 4: Problems and Exercises 2a Vehicle_ID Price Make Model Engine_Displacement VEHICLE C_Vehicle_ID No_of_Passengers CAR T_Vehicle_ID Car_Type Capacity TRUCK
  • 17. 17 (a) Disjoint rule Figure 3-7: Examples of disjointness constraints Note: The diagram is incomplete. It is missing the subtype discriminator.
  • 18. 18 Ch 4: Problems and Exercises 2b Physician_ID RESPONSIBLE_PHYSICIAN Patient_ID Admit_Date Physician_ID PATIENT O_Patient_ID Checkback_Date OUTPATIENT R_Patient_ID RESIDENT_PATIENT Bed_ID BED Patient_Name Date_Discharged Bed_ID
  • 19. 19 Figure 3-9: Subtype discriminator (overlap rule) Note: The diagram is incomplete. There should be unique attributes for the subtypes.
  • 20. 20 Ch 4: Problems and Exercises 2c Part_No Description Location Manufactured? Purchased? Qty_on_Hand PART M_Part_No MANUFACTURED_PART P_Part_No PURCHASED_PART P_Part_No Supplier_ID Unit_Price SUPPLY_LINE Supplier_ID Supplier_Name SUPPLIER
  • 21. 21 Figure 3-10: Example of supertype/subtype hierarchy Note: The diagram is incomplete and missing the subtype discriminators.
  • 22. 22 Ch 4: Problems and Exercises 2d SSN Name Address Gender Date_of_Birth PERSON E_SSN Salary Date_Hired EMPLOYEE F_SSN Rank FACULTY S_SSN Position STAFF ALUMNUS A_SSN ST_SSN Major_Dept STUDENT UNDERGRAD US_SSN Class_Standing A_SSN Degree Year Date DEGREES GS_SSN Test_Score GRADUATE
  • 23. Ch 4: Problems and Exercises 13a 23 Parking Ticket table in 1NF
  • 24. Ch 4: Problems and Exercises 13b 24 Functional Dependencies of the Parking Ticket table – 1NF PARKING
  • 25. Ch 4: Problems and Exercises 13c 25 Functional Dependencies of the Parking Ticket table – 2NF STID
  • 26. Ch 4: Problems and Exercises 13d 26 Functional Dependencies of the Parking Ticket table – 3NF STID

Editor's Notes

  1. 13
  2. 15
  3. 20
  4. 21
  5. 21
  6. 37