Loading…
Create a CTE that selects only orders where total_amount > 1000. Then select order_id and total_amount from that CTE. This separates filtering from the final selection, improving readability.
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.