Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following schema for a COMPANY database: EMPLOYEE ( Fname , Lname, Ssn , Address, Super - ssn , Salary, Dno ) DEPARTMENT (

Consider the following schema for a COMPANY database:
EMPLOYEE (Fname, Lname, Ssn, Address, Super-ssn, Salary, Dno)
DEPARTMENT (Dname, Dnumber, Mgr-ssn, Mgr-start-date)
DEPT-LOCATIONS (Dnumber, Dlocation)
PROJECT (Pname, Pnumber, Plocation, Dnum)
WORKS-ON (Ess!!, Pno, Hours)
DEPENDENT (Essn, Dependent-name, Sex, Bdate, Relationship)
Write the queries in relational algebra.
i) Retrieve the name and address of all emp loyees who work for' Sales' department.
ii) Find the names of employees who work on all the projects controlled by the department
number 3.
iii) List the names of all employees with two or more dependents.
iv) Retrieve the names of employees who have no dependents.
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

How does Jurans Quality Trilogy compare with Demings 14 points?

Answered: 1 week ago