Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE GIVE ME THE CORRECT ANSWER!!!!!!!!!!!!!!! 1.Get supplier names for suppliers who supplied for job J2. (Use a nested query) 2. Get supplier names for

PLEASE GIVE ME THE CORRECT ANSWER!!!!!!!!!!!!!!!

image text in transcribed

1.Get supplier names for suppliers who supplied for job J2. (Use a nested query)

2. Get supplier names for suppliers who supplied parts for jobs only in Athens. (Use a nested query)

3. Get part names for parts that are not supplied for job J3. (Use a nested query)

4. Which city has the most suppliers? (Use a nested query)

5.Calculate each suppliers total sales quantity and get the sales persons name if the sales person supplies parts more than 1000 units in total.

6. Get job numbers for jobs whose city is first in the alphabetical list of the job cities.

7. Increase the status values of suppliers by 5 who are located in Paris.

Please hand in the modified table and the query.

Please create following tables by using MySQL and answer the following questions Submit a table creation script and data insert script. Then prepare the report as follows: question number, question, SQL statement and the result table for each question. city namecolor weight city Red Green Blue Red Blue Red 12 17 Paris 17 Rome Reader onsole ollator Terminal 12 Paris ape qty 200 700 400 200 200 500 600 status city mith 20 10 Paris 30 Paris 20 30 Athens Blake 800 100 200 500 300 300 100 200 100 200 800 500 100 200 500 Please create following tables by using MySQL and answer the following questions Submit a table creation script and data insert script. Then prepare the report as follows: question number, question, SQL statement and the result table for each question. city namecolor weight city Red Green Blue Red Blue Red 12 17 Paris 17 Rome Reader onsole ollator Terminal 12 Paris ape qty 200 700 400 200 200 500 600 status city mith 20 10 Paris 30 Paris 20 30 Athens Blake 800 100 200 500 300 300 100 200 100 200 800 500 100 200 500

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

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

Arrays are objects True False

Answered: 1 week ago

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago