Question: On the Sales table the following SQL statement below is executed. SELECT SalesPersonID, SalesRegion, SUM ( SalesVolume ) AS 'Total Sales' from Sales GROUP BY

On the Sales table the following SQL statement below is executed.
SELECT SalesPersonID, SalesRegion, SUM(SalesVolume) AS 'Total Sales' from Sales GROUP BY CUBE(SalesPersonID,SalesRegion)
How many rows are there in the result of the query?
Question 5 options:
7
9
8
6\table[[SalesPersonID,SalesRegion,State,Month,SalesVolume],[S0001,West,Califomia,01- January,9400.00],[S0001,West,Oregon,01- January,12400.00],[S0001,East,New York,01- January,11900.00],[S0001,East,Maine,01- January,8950.00],[S0001,West,Califomia,02- February,15350.00],[S0001,West,Oregon,02- February,11750.00],[S0001,East,New York,02- February,13400.00],[S0001,East,Maine,02- February,15000.00],[S0001,West,Califomia,03- March,14200.00],[S0001,West,Oregon,03- March,12600.00],[S0001,East,New York,03- March,11720.00],[S0002,West,Califomia,01- January,13750.00],[S0002,West,Oregon,01- January,9820.00],[S0002,East,New York,01- January,12730.00],[S0002,West,Califomia,02- February,16200.00],[S0002,West,Oregon,02- February,15240.00],[S0002,East,New York,02- February,12900.00],[S0002,East,Maine,02- February,9870.00],[S0002,West,Califomia,03- March,13700.00],[S0002,West,Oregon,03- March,13450.00],[S0002,East,New York,03- March,14200.00],[S0002,East,Maine,03- March,10200.00]]
 On the Sales table the following SQL statement below is executed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!