runtime
08 / 88

task BETWEEN & ranges · warm-up

Hired during 2023

Return the name and hired_at of employees hired during 2023.

what to return

Columns
namehired_at in this order
Rows
4 rows · any order
Watch for
Include 1 January 2023 and 31 December 2023. Dates are stored as YYYY-MM-DD text.
Skill
Filter an inclusive date range. Refresher: Comparisons & ranges →

expected result

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

expected result4 rows · any order
namehired_at
Greta Holm2023-01-09
Jonas Weber2023-03-20
Milo Novak2023-01-01

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.

employees7 columns · 20 rows
idinteger · keynametextmanager_idinteger → employeesdepartment_idinteger → departmentstitletextsalaryrealhired_attext
1Ada MorenoNULLNULLCEO2500002019-03-01
2Bruno Costa11VP Engineering1800002019-06-15
3Carmen Diaz12VP Sales1500002020-01-10
4Dev Patel21Engineering Manager1400002020-05-04
5Elif Kaya41Senior Engineer1450002021-02-01

showing 5 of 20 rows

solution.sql
 

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