Question: Consider the following relational schema and SQL query. The schema captures information about employees, departments, and company finances. Emp ( eid , did, salary, category
Consider the following relational schema and SQL query. The schema captures
information about employees, departments, and company finances.
Empeid did, salary, category
did, dname, floor, phone
Financedid budget, sales, expenses
Consider the following query:
SELECT Ddname, Fbudget
FROM Emp E Dept D Finance F
WHERE EdidDdid AND DdidFdid AND Dfloor
AND Esalary AND E category
Here are some statistics:
Salary range from to
The attribute did in the relation Emp is foreign key.
category
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
