Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE USE CORRECT RELATIONAL ALGEBRA EXPRESSIONS AND CORRECT SYMBOLS WHEN ANSWERING THE FOLLOWING: For the relational database instance, shown in the figure above, write relational

image text in transcribed

PLEASE USE CORRECT RELATIONAL ALGEBRA EXPRESSIONS AND CORRECT SYMBOLS WHEN ANSWERING THE FOLLOWING:

For the relational database instance, shown in the figure above, write relational algebra expressions for the following data retrieval requirements. Please type your answer.

1. List all male employees, who do NOT work in department number 5 but have salary higher than $35,000

2. List name, birth date and relationship for all dependents of employee John B. Smith.

3. List name for all projects, which is NOT managed by department number 5 but is located in Houston. Use the DIFFERENCE operation for this data retrieval requirement.

4. List name for all departments located in Houston. Use the NATURAL JOIN operation for this data retrieval requirement.

5. List SSN for all employees, who works on project ProductX.

CHAPTER 6/THE RELATIONAL DATA MODEL ANDRELATIONAL ALGEBRA 146 EMPLOYEE FNAME MINIT LNAME SEN BOATE ADDRESS SEx SALARY SUPERSSN DNO 333445555 DEPT LOCATIONS PNUMEER DogATION DEPARTMENT DNAME ONMMEER MORSSN NORSTARTDATE WORKS ON ESSN HOURS PNAME TENIMMBER PLOCATION ONUM PROTECT DEPENDENT ESSN DEPENDENT NAME SEX BDATE RELATIONSHIP Figure 6.6 A relational database instance (state) of the ooMPANY schema. CHAPTER 6/THE RELATIONAL DATA MODEL ANDRELATIONAL ALGEBRA 146 EMPLOYEE FNAME MINIT LNAME SEN BOATE ADDRESS SEx SALARY SUPERSSN DNO 333445555 DEPT LOCATIONS PNUMEER DogATION DEPARTMENT DNAME ONMMEER MORSSN NORSTARTDATE WORKS ON ESSN HOURS PNAME TENIMMBER PLOCATION ONUM PROTECT DEPENDENT ESSN DEPENDENT NAME SEX BDATE RELATIONSHIP Figure 6.6 A relational database instance (state) of the ooMPANY schema

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

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

3. How frequently do the assessments occur?

Answered: 1 week ago