See the Exhibit and examine the structure of the PROMOTIONS table:Exhibit:Using the PROMOTIONS table, you need to find o

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

See the Exhibit and examine the structure of the PROMOTIONS table:Exhibit:Using the PROMOTIONS table, you need to find o

Post by answerhappygod »

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 1
See The Exhibit 1 (83.03 KiB) Viewed 155 times
See The Exhibit 2
See The Exhibit 2 (3.13 KiB) Viewed 155 times
A. It generates an error because multiple conditions cannot be specified for the WHEN clause
B. It executes successfully and gives the required result
C. It generates an error because CASE cannot be used with group functions
D. It generates an error because NULL cannot be specified as a return value
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply