Question: Write a select statement that returns 3 columns: VendorName BalanceDue (calculated column that displays balance owed on an invoice) TermsDescription Filter the results to
Write a select statement that returns 3 columns: VendorName BalanceDue (calculated column that displays balance owed on an invoice) TermsDescription Filter the results to only return rows where the balance owed in less than 10000 and TermsID is equal to 3. Sort the results by Vendor Name and BalanceDue from largest to smallest.
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
SELECT VendorsVendorName InvoiceLineltemsAmount InvoicesPaid AS BalanceDue TermsDescription FROM Vendors INNER JOIN Invoices ON VendorsVendorID Invoic... View full answer
Get step-by-step solutions from verified subject matter experts
