Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:Write a query returning `name`, `price`, and a new column called `price_category`. If the price is > 500, the category is 'Premium'. If the price is > 50, the category is 'Standard'. Otherwise, it is 'Budget'.
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.