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 / sree
3 rows
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is trigger types of trigger?
Is the primary key an index?
how to get a list of all tables in a database? : Sql dba
What jobs use sql?
What are stuff and replace function?
how to create a new view in mysql? : Sql dba
How do you know if a relationship is 2nf?
How to find 3rd highest salary of an employee from the employee table in sql?
What is rank () in sql?
Explain how can you save or place your msg in a table?
What are sql data types?
What are the different set operators available in sql?
Can we use pl sql in mysql?
How many joins in sql?
What is dense_rank?