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

3 rows

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

562


What is rownum?

536


What does closing a cursor do?

758


Why is normalization important?

533


What is the limitation on the block size of pl/sql?

524






Explain spool.

681


How do you update a table in sql?

516


What is full join in sql?

518


Explain what is a database?

643


How delete all data from table in sql?

568


Why use truncate instead of delete?

542


What is bitemporal narrowing?

720


Differentiate between pl/sql and sql?

613


What is null in pl/sql?

623


What is sql*loader and what is it used for?

573