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 / gvmahesh
4 rows
1.vanilla
2.chocolate
3.strawberry
4.null
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is java sql drivermanager?
List the different type of joins?
How to return multiple rows from the stored procedure?
Why are cursors used?
Define a temp table?
What is a primary key? Explain
How do you update a sql procedure?
Is pl sql and postgresql same?
How does cross join work in sql?
Is sqlite free?
What is sql stand for?
What does desc stand for?
How is a PL/SQL code compiled?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
Why commit is not used in triggers?