The first 20 customers
List the first 20 customers to sign up with customer_id, full name, email and signup_date, earliest first.
Foodly tables
Hints
Stuck? Reveal one hint at a time before looking at the answer.
Your answer
This is a workbook: your query is not run. Every model answer has been run against these tables.
How to approach this question
This is a beginner Foodly SQL interview question that practises SELECT, ORDER BY, LIMIT. Read the schema first and note which table each column in the expected output comes from. Then decide whether you need a join, a filter, a grouping or a window function before you write any SQL.
Write your query in the answer box above, then compare it with the model answer and its checklist. Each model answer has been run against these tables. If you get stuck, reveal one hint at a time before you open the solution, which explains why the query works and lists common mistakes to avoid.