Question: Using ch10_abc_markets database and invoice table, write the SQL code to select the invoice number, line number and the sum of the line price as

Using ch10_abc_markets database and invoice table, write the SQL code to select the invoice number, line number and the sum of the line price as sumLP. Group the results using grouping sets of invoice number and line number to show the sumLP by invoice number order. What is the purpose of the GROUPING SETS subclause and what is its primary use
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
