Question: Consider the following two relational database tables to all the below questions. Employee Table Employee Employee Name Address 10/125 Exacla %65224413 110 Samar 25/12 Mahboula

Consider the following two relational database
Consider the following two relational database
Consider the following two relational database tables to all the below questions. Employee Table Employee Employee Name Address 10/125 Exacla %65224413 110 Samar 25/12 Mahboula 965344917 116 2015 Hawali 965222614 Phone 100 Ali Noora Payment Table Payment Employee ID Overtime Payment DateOfPayment 220 KD 1712/2021 006 116 100 KD 10/01/2021 007 110 120 KD 11/01/2021 110 1) Identify the Primary keys and foreign keys for each table. (30 points) 2) What are the data types for "PaymentID", "Overtime Payment", and "DateOfPayment" in the Payment table? You should use appropriate data type and length. (20 points) 3) Is it possible to add the below record to the Employee table? Explain Why? (15 points) 106Khalid215/10 Hawali965255891 4) Is it possible to add the below record to the Employee table? Explain Why? (10 points) 116 A11215/10 Hawali963356841 5) Is it possible to add the below record to the Payment table? Explain Why? (10 points) 008 115300 KD 13/01/2021 6) Is it possible to add the below record to the Payment table? Explain Why? (15 points) 009 110 120 KD 14/01/2021 Group Assignment 2 Summer 2021 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!