Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the SQL queries of each of the following using SQL languages and show the result from the image of tables below. A . For

Write the SQL queries of each of the following using SQL languages and show the result from the image of tables below.
A. For every project located in 'Stafford', list the project number, the controlling department number, and the department manager's last name, address, and birth date.
B. Retrieve the information of the 'administration' manager.
C. Retrieve names of all employees whose address is in Houston, Texas.
------Part 2------
Consider a MOVIE database in which data is recorded about the movie industry. The data requirements are summarized as follows:
Each movie is identified by title and year of release. Each movie has a length in minutes. Each has a production company, and each is classified under one or more genres (such as horror, action, drama, and so forth). Each movie has one or more directors, and one or more actors appear in it. Each movie also has a plot outline.Finally, each movie has zero or more quotable quotes, each of which is spoken by a particular actor appearing in the movie.
Actors are identified by name and date of birth and appear in one or more movies. Each actor has a role in the movie.
Directors are also identified by name and date of birth and direct one or more movies. It is possible for a director to act in a movie (including one that he or she may also direct).
Production companies are identified by name, and each has an address. A production company produces one or more movies.Draw an entity-relationship diagram (ER) for the movie database (use one of the existing online modeling tools).
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_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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

How do rapid growth firms deal with potential cash flow shortfalls?

Answered: 1 week ago

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago