Question: 4. write a SELECT statement that returns one row for each general ledger account number that contains three columns: the account_description column from the general_ledger_accounts
4. write a SELECT statement that returns one row for each general ledger account number that contains three columns: the account_description column from the general_ledger_accounts table the count of the items in the Invoice_Line_Items table that have the same account number the sum of the line_item_amount columns in the invoice_line_items table that have the same account_number. return only those rows where the count of line items is greater than 1. This should return 10 rows. group result set by account description. sort the result set in descending sequence by the sum of the line item amounts.
Have seen this posted before but previous answers do not work. Unknown Column 'invoice_line_items' in field list/etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
