Chapter 3 · Sorting & Limiting
17. Five Oldest Customer Accounts
Easy10 XPFinance
Find the five customers who have been with the bank the longest. Return their first_name, last_name, and created_at. Order by created_at ascending and limit to 5.
Tables
- PKidINT
- first_nameTEXT
- last_nameTEXT
- emailTEXT
- phoneTEXT
- date_of_birthTEXT
- cityTEXT
- stateTEXT
- countryTEXT
- created_atTIMESTAMP
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.