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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started