Question
2. (15 marks) Design a simple database with at least 5 relations for such applications as students taking courses taught by faculty in class rooms
2. (15 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.
Write all instructions to create your database tables with constraints (5 marks)
Write all instructions to load data into your database tables (5 marks)
State two SQL queries involving more than one table that can be posed on this database indicating the tables to visit to answer the queries each time and the results retrieved. (5 marks)
Creating Tables | |
(5 marks) |
|
Loading data into tables | |
(5 marks) |
|
Tables needed to answer query and Results | ||
(5 marks) |
i.
ii.
|
i.
ii.
|
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