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 / guest
10 rows
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
how to fetch alternate records from a table? : Sql dba
Explain the working of foreign key?
How does postgresql compare to oracle/db2/ms sql server/informix?
Is ms sql is free?
What is string join?
How to return multiple rows from the stored procedure?
What is error ora-12154: tns:could not resolve the connect identifier specified?
Can I learn sql in a week?
What are the two different parts of the pl/sql packages?
What is the unique index?
What are the different types of sql commands?
Why use stored procedures?
What is memory optimized table?
Is keyword pl sql?
I need a function for a train ticket reservation please answer it thanks in advance