Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SQL Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra. EMPLOYEE PRONE FNAME MAHTUNE
SQL
Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra.
EMPLOYEE PRONE FNAME MAHTUNE MINIT LNAME SSN BDATE ADDRESS SEX SALARY SUPERSSN DNO BONTE | scores | 3 | SARV SUPERSN | ONO Macesen MGRSTARTDATE DEPARTMENT DNAME DNUMBER MGRSSN MGRSTARTDATE DEPT_LOCATIONS DNUMBER DLOCATION PROJECT e PNAME r mange PNUMBER PLOCATION nocnion DNUM WORKS_ON ESSNPN HOURS DEPENDENT ESSN | ESSN DEPENDENT NAME DEPENDENT_NAME SEX SEX BDATE RELATIONSHIP (1) Retrieve the names (fname,lname) of employees in department 4 who work more than 34 hours per week on the 'ENG' project. (ENG is project name.) (2) List the name (dependent name) of female dependents, if the dependents depend on the employees who work for the ME department. (ME is department name). (3) Retrieve the names (fname,lname) of all employees who do not work on any project. (4) Find the names (fname,lname) of employees that are directly supervised by 'Susan YaoStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started