Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please i want the answers without any plagrasim and in a piece of paper note: there are 2 papers ( 6 questions). Consider the following

please i want the answers without any plagrasim and in a piece of paper
note: there are 2 papers ( 6 questions). image text in transcribed
image text in transcribed
Consider the following two relational database tables to all the below questions, Employee Table Employeeld EmployeeName Address Phone 100 Ali 10/125 Egaela 965224413 110 Samar 25/12 Mahboula 965344917 116 Noura 20/15 Hawali 965222614 Payment Table Paymenti EmployeeID Overtime Payment 220 KD DateOfPayment 17/12/2021 001 110 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. (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) Khalid 215/10 Hawali 965255891 106 3/3 4) Is it possible to add the below record to the Employee table? Explain Why? (10 points) 215/10 Hawali 965356841 116 Ali 5) Is it possible to add the below record to the Payment table? Explain Why? (10 points) 115 300 KD 13/01/2021 008 6) Is it possible to add the below record to the Payment table? Explain Why? (15 points) 009 110 120 KD 14/01/2021

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions