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 / guest

10 rows

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are hotfixes and patches?

619


Does pdo prevent sql injection?

608


What does stand for in sql?

620


What is duration in sql profiler trace?

667


explain primary keys and auto increment fields in mysql : sql dba

622






What is identity column in sql server?

625


What does the base_object_type column shows in the user.triggers data dictionary view?

660


Why we use triggers in mysql?

640


Does varchar need length?

612


What is cursor status?

867


What is sql dialect?

619


What is compound trigger?

666


Explian rowid, rownum? What are the psoducolumns we have?

667


what is a primary key? : Sql dba

650


Why should I use postgresql?

668