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
Explain commit, rollback and savepoint.
What is dense_rank?
Is postgresql a server?
what is union, minus and interact commands? : Sql dba
What is trigger in pl sql with examples?
How do I view tables in sql developer?
what are the features and advantages of object-oriented programming? : Sql dba
What does (+) mean in sql joins?
what is row? : Sql dba
How can we link a sql database to an existing android app?
How do I know if I have sql express or standard?
what is the command used to fetch first 5 characters of the string? : Sql dba
Why join is faster than subquery?
What is a natural join sql?
Is grant a ddl statement?