Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

What type of company needs an activity-based costing system?

Answered: 1 week ago

Question

Describe your ideal working day.

Answered: 1 week ago