Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write MySQL statements for each of the following queries: a. Get the part numbers and names of all the parts made in London. b. Get

image text in transcribed

Write MySQL statements for each of the following queries: a. Get the part numbers and names of all the parts made in London. b. Get the part numbers and names shipped by supplier 2 . c. Get the supplier numbers and names of suppliers who have shipped a part made in the city they live. a. For each supplier, show the supplier's number, name, number of shipments, and the total quantity of parts the supplier has shipped. e. Get numbers and names of those red parts for which a total of at least 500 have been shipped. Your MySQL statements should be written in a text file queries.sql in your Linux account and will be tested on the Linux server using the following command: $ cat queries.sq1 mysql guest - q guest1 --password="guest1" The above command passes the queries to the mysql server which uses the database guest to obtain the output of each query. Here on Brightspace you are required to submit in the text area the full path name of your file queries.sql For example, write below something like this: /home/course/u00/as2/queries.sql

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions