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 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
Get step-by-step solutions from verified subject matter experts
