runtime
02 / 88

task WHERE · warm-up

Shoppers in the West region

Return the id and name of shoppers whose region is West.

what to return

Columns
idname in this order
Rows
4 rows · any order
Watch for
Region values are capitalised exactly as 'West'.
Skill
Filter rows with WHERE and a text value. Refresher: Filter with WHERE →

expected result

Your query should return exactly these columns and values. Run it and compare.

expected result4 rows · any order
idname
1Ana Ruiz
3Chloe Park
9Ivan Petrov

first 3 of 4 rows

data you can query

Sample rows from each table. Each column shows its type underneath; → marks a link to another table.

shoppers5 columns · 17 rows
idinteger · keynametextemailtextregiontextsignup_datetext
1Ana Ruizana@harbor.testWest2025-01-03
2Ben Okaforben@harbor.testEast2025-01-05
3Chloe Parkchloe@harbor.testWest2025-01-09
4Dmitri Volkovdmitri@harbor.testNorth2025-01-14
5Esi MensahNULLSouth2025-01-20

showing 5 of 17 rows

solution.sql
 

Hints and the answer are always available. Using them counts the question as solved with help.