Question: Consider the following two relational database tables to all the below questions. Employee Table Employee EmployeeName Address Phone 100 Ali 10/125 Egaela 965224413 110 Samar

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 EmployeeName Address Phone 100 Ali 10/125 Egaela 965224413 110 Samar 25/12 Mahboula 965344917 116 Noura 20/15 Hawali 965222614 Payment Table Paymenti Employee OvertimePayment 001 110 DateOfPayment 17/12/2021 10/01/2021 11/01/2021 006 007 220 KD 100 KD 120 KD 116 110 1) Identify the Primary keys and foreign keys for each table. (30 points) 2) What are the data types for "PaymentID" and "OvertimePayment" 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) 106 Khalid 215/10 Hawali 965255891 Individual Assignment 1-Homework Fall 2020 4) Is it possible to add the below record to the Employee table? Explain Why? (10 points) 116 All 215/10 Hawali 965356841 5) Is it possible to add the below record to the Payment table? Explain why? (10 points) 008 115 300 KD 13/01/2021 6) Is it possible to add the below record to the Payment table? Explain Why? (15 points) 110 120 KD 14/01/2021 009 Individual Assignment 1-Homework Fall 2020 2

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!