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
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