Question: Consider the below schemas from a relational database, where the primary keys are underlined? : Employee (EmployeelD, Street, City) Works (EmployeelD Company-name, Salary) Company (Company-name,
Consider the below schemas from a relational database, where the primary keys are underlined? :
Employee (EmployeelD, Street, City)
Works (EmployeelD Company-name, Salary)
Company (Company-name, City)
Manages (ManagerlD, Manager-name)
Considering the above schemas, write an expression in SQL for each of the following
queries:
a. Find the lDs of all employees who work for the INTEL CORP.
b. Delete all tuples in the works relation for employees of INTEL CORP.
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
