22.9k views
1 vote
Develop a stored procedure that will take a state abbreviation as a parameter and list the name of the state, vendor, and total amount still owed on invoices for the vendor with the highest amount still owed in that state, i.e. list the vendor (along with their state and amount owed) with the most money still owed for a given state. (List only vendors to whom a positive amount is still owed; omit vendors to whom no amount is owed). The Canvas assignment includes a link to a script for a partially completed stored procedure called owed_to_state_vendors. Review the code, including the comments, to understand the requirements of the stored procedure. You will complete the stored procedure, using the comments as a guide. Use of a CTE is advised to accomplish this task.

User Phiter
by
5.1k points

1 Answer

1 vote

Answer:

ummm so sorry

Step-by-step explanation:

i will try to help u just give me a sec

User Compholio
by
6.1k points