Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise Using the Company Database to execute following query. 1.For every department located in Houston, list the name of the department, last name of the

image text in transcribed

Exercise

Using the Company Database to execute following query.

1.For every department located in Houston, list the name of the department, last name of the department manager and the name of the project(s) control by these departments(s).

2.Retrieve name(s) of the projects and the name of the controlling department that is located in Bellaire. Do not include projects that are controlled by Administration department.

3.List First names and project names of all employees who work on project(s) and have Smith as their last name. Also, include only those projects that are controlled by the department managed by an employee whose last name is Wong.

Final Relational Schema EMPLOYEE DEPARTMENT Dek Dname Dnumber Mgrssn Mgr start date DEPT LOCATIONS Dnumber Diccton PROJECT WORKS ON Ess Pro Hors DEPENDENT egenens omh Sex Bdate Relatenshp $8

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

Why can bond covenants reduce a firm's borrowing costs?

Answered: 1 week ago