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

Consider the following two relational database tables to all the below questions.

Employee Table

EmployeeID EmployeeName Address Phone

100 Ali 10/125 Egaela 965224413

110 Samar 25/12 Mahboula 965344917

116 Noura 20/15 Hawali 965222614

Payment Table

PaymentID EmployeeID OvertimePayment DateOfPayment

001 110 220 KD 17/12/2021

006 116 100 KD 10/01/2021

007 110 120 KD 11/01/2021

1) Identify the Primary keys and foreign keys for each table.

2) What are the data types for PaymentID and OvertimePayment in the Payment table? You should use appropriate data type and length.

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!