Question: Items 5 through 7 are weighted at 10% each. 5) Write the SQL code to delete VendorID = 82 from the Vendor's table; also delete
Items 5 through 7 are weighted at 10% each.
5) Write the SQL code to delete VendorID = 82 from the Vendor's table; also delete any associated invoices. This will probably require two SQL statements in the correct order.
6) Write an SQL SELECT query to show the name and city for Vendors in California who have a '559' area code; sort the output by city.
7) Write an SQL SELECT query that shows the vendorName, vendorState, and termsDueDays for vendors who have one or more invoices with a termsDueDays greater than 30. (Hint: it needs the invoices table, also!)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
