Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra. Specify the following queries on
Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra.
Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra. | EMPLOYEE FNAME MINIT NAME SSN BDATE ADDRESS SEX SALARY SUPERSSN DNO DEPARTMENT DNAMEDNUMBER MGRSSN MGRSTARTDATE DEPT LOCATIONS DNUMBER DLOCATION PROJECT PNAME PNUMBER PLOCATION DNUM WORKS ON PNO HOURS DEPENDENT ESSN DEPENDENT NAME SEX BDATE RELATIONSHIP (1) Retrieve the names (fname, Iname) of employees in department 1 who work less than 11 hours per week on the 'River' project. ("River" is the project name.) (2) List the name (fname, Iname) of the direct supervisor of John Smith (3)List the name (fname, Iname) of the manager of department 1 (4) List the name (fname Iname) of male dependents, if the dependents depend on an employee who works for the 'EEE' department. ('EEE, is department name)Step 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