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


Please Help Members By Posting Answers For Below Questions

How do you exit in sql?

689


How do I make sql search faster?

675


how to rename an existing table in mysql? : Sql dba

655


What are the qualities of 2nf?

644


What is bitemporal narrowing?

855






What type of database is cloud sql?

666


Determine if oracle date is on a weekend?

653


What is trigger point?

637


what is a cursor? : Sql dba

645


Is a view faster than a stored procedure?

628


What is the difference between unique and primary key constraints?

665


Is coalesce faster than isnull?

612


What is pl sql collection?

609


what is a control file ? : Sql dba

659


What is %rowtype in pl sql?

607