Loading…
Find the product_id values that appear both in old orders (order_date before '2021-02-01') and in recent orders (order_date after '2023-01-01'). Use INTERSECT and show only product_id, sorted ascending.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.