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 nvarchar in sql?
How to rename a table?
what are the advantages of using stored procedures? : Sql dba
Can we connect to postgresql using sql developer?
what is foreign key? : Sql dba
define join and explain different type of joins? : Sql dba
How many types of triggers are there in pl sql?
What is sql profiler in oracle?
What is the difference between microsoft access and sql?
What are the two parts of design view?
What is the difference between the sql*loader and import utilities? : aql loader
What are the main features of cursor?
Can dml statements be used in pl/sql?
what is the difference between sql and t-sql? : Transact sql
What is a primary key? Explain