QuestionQ156

VerifiedUsing Subqueries to Solve Queries

Refer to the exhibit and review the structure of the PROMOTIONS table.

Question Image

You must generate a report that shows the promo name and start date for every promo that began after the last promo in the 'INTERNET' category. Which query produces the required output?

Explanation

A > ALL comparison requires a promo’s start date to be later than every start date returned by the subquery. Restricting that subquery to the 'INTERNET' category therefore returns promos that started after the latest INTERNET promo.

Community Discussion

No comments yet. Be the first to start the discussion!