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

Can we commit inside a trigger?

556


What is sqlite format?

641


How can I change database name in sql?

538


What are the different datatypes available in PL/SQL?

574


What are the types of index in sql?

542






What makes a good primary key?

531


What sql database should I use?

561


What is the main difference between sql and pl/sql?

572


Show code of a cursor for loop.

594


What is implicit cursor in pl sql?

546


What is compute?

562


What is range partitioning?

524


Show how functions and procedures are called in a pl/sql block.

595


What is the use of sqlerrd 3?

529


Why truncate is used in sql?

537