Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 The following tables form part of a database held in an RDBMS: Employee (empNo, fName, IName, address, DOB, sex, position, deptNo) Department (deptNo,
Question 1 The following tables form part of a database held in an RDBMS: Employee (empNo, fName, IName, address, DOB, sex, position, deptNo) Department (deptNo, deptName, mgrEmpNo) Project (projNo, projName, deptNo) Works On (empNo, projNo, dateWorked, hours Worked) where Employee contains employee details and empNo is the key. Department contains department details and deptNo is the key. mgrEmpNo identifies the employee who is the manager of the department. There is only one manager for each department. Project contains details of the projects in each department and the key is projNo (no two departments can run the same project). 1 and Works On contains details of the hours worked by employees on each project, and empNo/projNo/dateWorked form the key Formulate the following queries in relational algebra (a)List all details of employees who are male and born after 1980 (b)List names and addresses of all employees who work for the ENGINEERING department (c) List the names of employees who work on the LINUX project (d)List the names of departments which have female employees
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