Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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 WorksOn (empNo, projNo, dateWorked, hoursWorked) where Employee contains employee details and empNo is the key projNo, projName, deptNo) Department cins 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. contains details of the projects in each department and the key is projNo (no two departments can run the same project). and WorksOn ins details of the hours worked by employees on each project, and empNo projNo/dateWorked form the key Formulate the following queries in relational algebra, tuple relational calculus, and domain relation calculus. List all employees . List all the details of employees who are female List the names and addresses of all employees who are managers . Produce a list of the names and addresses of all employees who work for the IT department Produce a list of the names of all employees who work on the SCCS project . Produce a complete list of all managers who are due to retire this year, in alphabetical order of surname

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions