Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1: Relation Algebra Specify the following queries on the COMPANY relational database schema (e) Retrieve the names of employees who work on every project

Question 1: Relation Algebra

Specify the following queries on the COMPANY relational database schema

image text in transcribed

(e) Retrieve the names of employees who work on every project controlled by Research department.

(f) Find the names and addresses of employees who work on at least one project located in Houston but whose department has no location in Houston.

(g) List the last names of department managers who have no dependents.

EMPLOYEE Fname Minit Lname Bdate Address Sex Salary Super s5n Dno DEPARTMENT Dname Dnumber Mgr_ssn Mgr_start_date DEPT LOCATIONS Dnumber Dlocation PROJECT Pname Pnumber Plocation Dnum WORKS ON Essn Pno Hours DEPENDENT Essn Dependent_name Sex Bdate Relationship

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_2

Step: 3

blur-text-image_3

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions