Question
This is about database system. Thank you.

Question B1 Create a Crows Foot ERD with the business rules described below. Write all appropriate connectivities and cardin
Question B2 The forwarding company Shun Fung Express adopts Microsoft Access database system. Figure 3 shows the relationship
Driver X Driver_ID LastName 1 Chan 2 Lee 3 Cheung 4 Costella 5 Tam 6 Srivastava FirstName John Alan Kanny Kenneth Michael Jar
Lee FirstName LastName Alan Jardi Srivastava John Chan Kanny Cheung Kenneth Costella Table 10: Query Result (4 marks) (e) Sup
0 0
Add a comment Improve this question Transcribed image text
Answer #1

SOLUTION

Question B1

ENTITY 1

ENTITY 2

RELATIONSHIP TYPE

Collections

Albums

One-to-Many

Artists

Albums

One-to-Many

Albums

Tracks

One-to-Many

Order

Customers

Many-to-One

Invoice

Albums

Many-to-One

All Access ... Relationships X Search... Tables Tracks Customer Collections Albums Artists 7 CollectionID CollectionName 00 T

Question B2

a) RELATIONSHIP TYPES

ENTITY 1

ENTITY 2

RELATIONSHIP TYPE

Model

Vehicle

One-to-Many

Vehicle

Forwarding_Schedule

One-to-Many

Forwarding_Schedule

Driver

Many-to-One

b) BUSINESS RULES

· There can be more there on vehicle belonging to the same model

· There can be more than one Schedule for the same Vehicle

· One Driver can be associated with more than one Forwarding Schedule

· One Vehicle can have only one Driver per schedule.

c) Entity Integrity & Referential Integrity in Vehicle Table

· Vehicle Table exhibits entity integrity since every record in Vehicle table can be uniquely identified by the Vehicle_Code attribute/column of the Vehicle table.

· Vehicle Table exhibits refertial integrity since every value in the Model_Code attribute/column has a matching reference value in Model Table Model_Code attribute/column.

d) SQL Statement to display Driver Names assigned to deliver after 2:00 PM on July 12, 2019.

SELECT Driver.LastName, Driver.FirstName

FROM Driver INNER JOIN Forwarding_Schedule ON Driver.[Driver_ID] = Forwarding_Schedule.[Driver_ID]

WHERE (((Forwarding_Schedule.Delivery_Date)>=#7/12/2019 14:0:0#));

e) SQL Statement for License Plate No of Vehicles available between dates

SELECT Vehicle.License_Plate_No

FROM Vehicle

WHERE Vehicle.License_Plate_No NOT IN (SELECT Vehicle.License_Plate_No

FROM Vehicle INNER JOIN Forwarding_Schedule ON Vehicle.[Vehicle_No] = Forwarding_Schedule.[Vehicle_No]

WHERE (((Forwarding_Schedule.Delivery_Date) BETWEEN #7/26/2019 11:0:0# AND #7/26/2019 17:0:0#)));

All Access Forwarding Schedule Query X Search... Tables Driver Forwarding Schedule Х LastName First Name Lee Alan Chan John LAll Access ... Search... Vehicle Query X SELECT Vehicle.License_Plate_No FROM Vehicle WHERE Vehicle.License_Plate_No NOT IN(SAll Access Vehicle Query Х Relationships X Search... O Tables Driver Model Vehicle Forwarding Schedule Forwarding Schedule Dr

Hence the Solution..!

Add a comment
Know the answer?
Add Answer to:
This is about database system. Thank you. Question B1 Create a Crow's Foot ERD with the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • This is about database system. Thank you. Question A1 You are given with three Oracle tables,...

    This is about database system. Thank you. Question A1 You are given with three Oracle tables, namely, Program, Channel and Booking, as shown in Tables 1 to 3. PROGRAM_ID PROGRAM_NAME DURATION 2012022 Dragon Dance 2014063 Haunted House 2016005 CID 2017172 Kung Fu Master 2018322 Family Affair 2019006 Hong Kong Sites 2019113 2019 Singing Contest 25 58 45 28 68 120 75 Table 1: Program CHANNEL_NO CHANNEL_NAME TVR-1 Rediffusion Channel 1 TV-P Television Pearl Channel TV-G Television Gold Channel Table 2:...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT