Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6 . Specify the following queries on the COMPANY relational database schema shown in Figure 5 . 5 ( page 1 6 1 , 7

6. Specify the following queries on the COMPANY relational database schema shown in Figure 5.5(page 161,7th edition), using the relational operators. Also show the result of each query as it would apply to the database state of Figure 5.6(page 162,7th edition). Figure 5.6
One possible database state for the COMPANY relational database schema.
EMPLOYEE
DEPARTMENT
DEPT_LOCATIONS
PROJECT
DEPENDENT EMPLOYEE
DEPARTMENT
DEPT_LOCATIONS
PROJECT
WORKS_ON
DEPENDENT
Figure 5.5
Schema diagram for the
COMPANY relational
database schema.
(a) Retrieve the names of employees in department 5 who work more than 10 hours per week on the 'ProductX' project. (3 points)
(b) Find the names of employees that are directly supervised by 'Franklin Wong' (2 points)
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

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

=+a. Consumer-Focused show benefits.

Answered: 1 week ago