Coding challenges

SQL interview questions

SQL comes up in almost every data analyst and data engineer interview, often as a live task. Each question here comes with a small, realistic database that runs in your browser. Write your query, run it, then check it against hidden tests that look for the edge cases interviewers care about.

Your query runs in SQLite on your own device. Nothing is sent to us.

The SQL challenges

Most graduate and junior data interviews include SQL, either as an online test or live with an interviewer watching. The questions test the same handful of skills again and again: joining tables, filtering, grouping and adding up, handling missing values, and using window functions to rank or compare rows.

Want a timed check across SQL, spreadsheets and charts as well? Take the free 20-minute SQL and skills test on Deeplink Toolkit, and read what data analyst technical tests cover on Deeplink Coaching.

Want a day-by-day route through them? Follow the two-week SQL interview plan then the advanced SQL interview plan

Then practise explaining it

Every challenge ends with the follow-up questions an interviewer would ask. Say your answers out loud, then practise technical and competency questions on camera, or in a live interview with an AI interviewer, and get written feedback. Free to start, with no card needed.

Getting ready for a data role? Deeplink Coaching offers data career coaching for graduates applying for data analyst and data engineer jobs.