Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For MySQL DBS For each of the following English descriptions, provide a valid SQL statement and show the evaluated result (command line or screen capture).

For MySQL DBS

For each of the following English descriptions, provide a valid SQL statement and show the evaluated result (command line or screen capture). Views are not allowed and the SQL should be a single statement.

(a) Get project numbers and names for projects supplied by supplier S2.

(b) Get the full details for parts supplied by a supplier in London.

(c) Get all shipments where the quantity is in the range 300 to 750 inclusive.

(d) Get part numbers for parts supplied by a supplier in London to a project in London.

(e) Get all supplier-number/part-number/project number triples such that the indicated supplier, part and project are collocated.

(f) Get the triples in (e) that are not collocated.

(g) For each part being supplied to a project, get the part number, project number and the total quantity.

(h) Get part numbers for those parts supplied to all projects in London.

Show screenshot(s) of completion

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

1. What is the difference between exempt and nonexempt jobs?pg 87

Answered: 1 week ago