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

3rows'

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define commit, rollback and savepoint?

585


Can a primary key be a foreign key?

581


What is the use of index in sql?

565


How do I filter in sql profiler?

542


What are the commands used in sql?

537






How to combine two stored procedures in sql?

606


How to add a column ‘salary’ to a table employee_details?

597


What is cursor in pl sql with examples?

490


What is %type in sql?

522


What are some emotional triggers?

576


What's the difference between a primary key and a clustered index?

524


What is sql comments?

659


What is information schema in sql?

587


How do I count records in sql?

528


Why we use stored procedure instead of query?

542