Coding challenges

SQL and Python interview questions

Original SQL, pandas and Python questions like the ones data analyst and data engineer interviews use. Write your answer, run it on real data in your browser and check it against hidden tests. Then practise explaining it out loud, the part most people never rehearse.

Free, with no account needed. Your code runs on your own device and isn’t sent to us.

Every challenge

All 75 challenges

Each one gives you a task, the data and a place to write your answer. Run it as often as you like, check it against hidden tests, and open the hints or the model answer when you want them.

How to practise

Solve it, then say it

In a technical interview, the answer is only half of it. Interviewers want to hear how you got there, what you checked and what you’d do differently with more data.

  1. Read the data first

    Look at the tables and a few rows before you write anything. Most wrong answers come from a wrong assumption about the data.

  2. Run it early and often

    Build your answer a step at a time, running it as you go, the way you would with an interviewer watching.

  3. Check the edge cases

    The hidden tests try the awkward cases: ties, missing values, refunds, empty input. Think about them before you check.

  4. Explain it out loud

    Each challenge ends with the follow-up questions an interviewer would ask. Say your answers out loud, then practise technical questions on camera for written feedback.

Not sure where to start? Follow the two-week SQL interview plan

How to explain your SQL out loud in an interview

Practise the whole interview, not just the code

Answer technical and competency questions on camera, or in a live interview with an AI interviewer that asks follow-up questions, and get written feedback on what you said and how you said it. Free to start, with no card needed.

Not sure where your SQL is yet? Take the free 20-minute SQL and skills test on Deeplink Toolkit. Want a coach to work through it with you? Deeplink Coaching offers data career coaching for graduates. Every name and number in the challenges is invented.