Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (10 marks) Design a simple database with at least 5 relations for such applications as students taking courses taught by faculty in class rooms
2. (10 marks) Design a simple database with at least 5 relations for such applications as "students taking courses taught by faculty in class rooms at a specific time", "customers ordering items at specific dates and ordered items shipped from warehouse at a specific date". a. Specify all the foreign keys in your designed database. State each foreign key using the following format "foreign key is the attribute ---------- of relation --------- that references relation (5 marks) b. State two queries involving more than one table that can be posed on this database indicating the tables to visit to answer the queries each time. (5 marks) Foreign Key Question 2a (5 marks) of relation --------------- that references i. foreign key is the attribute ------------- relation of relation --------------- that references ii. foreign key is the attribute --------------- relation --- iii. foreign key is the attribute --------------- relation -------- of relation --------------- that references iv. foreign key is the attribute --------------- of relation --------------- that references relation -- v. foreign key is the attribute --------------- relation -- of relation --------------- that references Question Query Tables needed to answer query 2b (5 marks) i. 2. (10 marks) Design a simple database with at least 5 relations for such applications as "students taking courses taught by faculty in class rooms at a specific time", "customers ordering items at specific dates and ordered items shipped from warehouse at a specific date". a. Specify all the foreign keys in your designed database. State each foreign key using the following format "foreign key is the attribute ---------- of relation --------- that references relation (5 marks) b. State two queries involving more than one table that can be posed on this database indicating the tables to visit to answer the queries each time. (5 marks) Foreign Key Question 2a (5 marks) of relation --------------- that references i. foreign key is the attribute ------------- relation of relation --------------- that references ii. foreign key is the attribute --------------- relation --- iii. foreign key is the attribute --------------- relation -------- of relation --------------- that references iv. foreign key is the attribute --------------- of relation --------------- that references relation -- v. foreign key is the attribute --------------- relation -- of relation --------------- that references Question Query Tables needed to answer query 2b
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started