Question: **Any help is appreciated** Consider the supplier-and-parts database. Write SQL queries to accomplish each of the following tasks. Again, you may check the database schema

**Any help is appreciated** Consider the supplier-and-parts database. Write SQL queries to**Any help is appreciated**

Consider the supplier-and-parts database. Write SQL queries to accomplish each of the following tasks. Again, you may check the database schema in the class presentation.

a. List all part information (from the Parts table only) in alphabetical order by Part Name. The Part Name should appear first.

b. Find out how many parts there are of each color. List the color and the part name.

c. Retrieve supplier numbers and names for suppliers with current shipments. Eliminate duplicates.

d. Give read access to the entire database to everyone.

e. Give write access to the supplier table to Susan.

f. Remove Susans access to the supplier table.

g. Require that part colors be restricted to the colors: Red, Blue, and Green.

h. Require that part weight be positive.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!