Question: Consider the following two relational database tables to answer all the below questions. Smart Phone Table Sale Table Phone_ID Brand Model Cost P-001 Samsung Galaxy
Consider the following two relational database tables to answer all the below questions.
| Smart Phone Table | Sale Table | ||||||||||||||||||||||||||||||||||||
|
|
- Identify the primary keys and foreign keys for each table. (30 Points)
- Create a data dictionary for the Smart Phone table. You should use appropriate data types and lengths. (40 Points)
- Is it possible to add the below record to the Sale table? Explain why? (15 Points)
| REC 104 | P-004 | 385.00 KD | 20-April-2021 |
- Is it possible to add the below record to the Smart Phone table? Explain why? (15 points)
| P-003 | Apple | IPhone 12 Pro Max | 1-March-2021 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
