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 / sdp
4 rows
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What are the types of views in sql?
Can we use joins in subquery?
What is the process of debugging?
Does sql full backup truncate logs?
What is java sql package?
how to create a test table in your mysql server? : Sql dba
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
What is the main difference between sql and pl/sql?
what is the bond code in materialized view?
explain advantages of myisam over innodb? : Sql dba
What is transaction control language (tcl)?
Why triggers are used?
How do I run a program in pl sql?
What is cartesian join in sql?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?