SELECT vendor_state, vendor_city, vendor_name, COUNT(*) AS invoice_qty, SUM(invo
ID: 3656443 • Letter: S
Question
SELECT vendor_state, vendor_city, vendor_name, COUNT(*) AS invoice_qty, SUM(invoice_total) AS invoice_average FROM invoices JOIN vendors ON invoices.vendor_id = vendors.vendor_id WHERE vendor_state < 'e' GROUP BY vendor_state, vendor_city, vendor_name HAVING SUM(invoice_total) > 500 ORDER BY vendor_state, vendor_city, vendor_name (Please refer to code example above.) Although this query runs as coded, it contains this logical error: Answer A. The column name for the fifth column in the result set doesnExplanation / Answer
A. The column name for the fifth column in the result set doesn
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.