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

4 rows

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why truncate is faster than delete?

567


Mention what does the hierarchical profiler does?

570


how to escape special characters in sql statements? : Sql dba

520


Why function is used in sql?

528


what is oltp (online transaction processing)? : Sql dba

538






What does stand for in sql?

532


How to run sql commands in sql*plus?

595


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

540


What is auto increment?

584


Why functions are used in sql?

521


Explain the components of sql?

600


Is it possible to create startup or shutdown trigger for on-schema?

593


Which sql most popular?

569


What are functions in sql?

514


What jobs use sql?

537