Home / Expert Answers / Computer Science / consider-the-relational-diagram-below-employee-fname-minit-lname-ssn-bdate-address-sex-sal-pa992

(Solved): Consider the relational diagram below. Employee(fname, minit, lname, ssn, bdate, address, sex, sal ...



Consider the relational diagram below.


Employee(fname, minit, lname, ssn, bdate, address, sex, salary, superssn, dno)
Department(dname, dnumber, mgrssn, mgrstartdate)
Dept_Locations(dnumber,dlocation)
Project(pname, pnumber, plocation, dnum)
Works_on(essn, pno, hours)
Dependent(essn, dependent_name, sex, bdate, relationship)


Express the following queries with relational algebra and multiple relation analysis. (Express the following
queries either in relational algebra or tuple relational.) 


(a) Return the average salary of all female employees.
(b) Bring back the names of all employees working on each project.
(c) Bring back the names of all employees who did not work on any project.



We have an Answer from Expert

View Expert Answer

Expert Answer


(a) Return the average salary of all female employees. Relational Algebra: ? salary (? sex = "F" (Employee)) Tuple Relational Calculus: {t | t ? Emplo
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe