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

four rows will be returned displaying null as the last row

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of postgresql?

631


What is nvarchar in sql?

606


How does left join work in sql?

605


How to run pl sql program in mysql?

594


Is ms sql is free?

624






Mention what pl/sql package consists of?

628


How do I create a sql script?

637


What is blind sql injection?

663


What is a sql*loader control file?

712


What is bind variable in pl sql?

635


What does select top 1 do in sql?

625


Is sql open source?

617


What is clause in sql?

673


Why function is used in sql?

606


What is sql partition?

653