Q86 View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables

Q86 View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.

Examine this SQL statement:

Exhibit 1.

What will be the result?

  • (A). It gives an error because the ALL keyword is not valid
  • (B). It gives an error because the GROUP BY clause is not valid
  • (C). It executes successfully but does not give the required result
  • (D). It executes successfully and gives the required result
0 0 đánh giá
Đánh giá bài viết
Theo dõi
Thông báo của
guest
0 Góp ý
Phản hồi nội tuyến
Xem tất cả bình luận