What would be the outcome?

See the Exhibit and examine the structure of the PROMOTIONS table: Exhibit: Using the
PROMOTIONS table, you need to find out the average cost for all promos in the range
$0-2000 and $2000-5000 in category A. You issue the following SQL statements: Exhibit:
What would be the outcome?

See the Exhibit and examine the structure of the PROMOTIONS table: Exhibit: Using the
PROMOTIONS table, you need to find out the average cost for all promos in the range
$0-2000 and $2000-5000 in category A. You issue the following SQL statements: Exhibit:
What would be the outcome?

A.
It executes successfully and gives the required result

B.
It generates an error because CASE cannot be used with group functions

C.
It generates an error because NULL cannot be specified as a return value

D.
It generates an error because multiple conditions cannot be specified for the WHEN
clause

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *