SELECT flavor, SUM (ice_cream_sales) FROM sales_detail
GROUP BY flavor ORDER BY 2 DESC

If the "sales_detail" table contains ten records with
different values in the flavor column (two "vanilla,"
three "chocolate," four "strawberry," and one NULL), how
many rows are returned by the sample code above?

1. 0 rows
2. 1 row
3. 3 rows
4. 4 rows
5. 10 rows

Answer Posted / sdp

4 rows

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of pl/sql packages?

638


What is partition by in sql?

665


Can we join tables without foreign key?

609


How do you determine the current isolation level? : Transact sql

653


Which version of sql do I have?

659






Which data type is a composite type?

629


Can we delete column in sql?

662


How do you add a column to a table?

680


What do you know by pl/sql cursors?

655


What is the difference between microsoft access and sql server?

610


What is sql key?

609


how mysql optimizes distinct? : Sql dba

637


write an sql query to find names of employee start with 'a'? : Sql dba

675


What is an alias command?

669


how to create a new table in mysql? : Sql dba

628