Interview quiz track

First 2 free Intermediate SQL

SQL Interview for Data Analysts

Practice SQL questions commonly asked in data analyst interviews. Cover joins, aggregations, window functions, and business queries. Write queries and receive feedback. Ideal for data analyst SQL interview prep. First 2 questions are free with full feedback.

  • Level Intermediate
  • Questions 12
  • data analyst
  • role

Try any track free — first 2 questions include full AI feedback. Subscribe to finish the track and unlock everything. Type or speak your answer — the first 2 questions include scoring and detailed AI feedback.

Try first 2 questions free All tracks

Sample sql interview for data analysts interview questions

Preview 6 questions from this track in quiz order. In the full quiz you answer one at a time — type or speak — then get a score and feedback.

  1. Write a query for total revenue by month.

    What a strong answer includes

    GROUP BY month and SUM.

  2. How do you find customers with no orders?

    What a strong answer includes

    LEFT JOIN and IS NULL.

  3. Explain ROW_NUMBER vs RANK.

    What a strong answer includes

    How they handle ties.

  4. Write a query for the top 3 products by sales per category.

    What a strong answer includes

    Window function.

  5. What is the difference between WHERE and HAVING?

    What a strong answer includes

    Row vs group filter.

  6. How do you calculate a running total?

    What a strong answer includes

    SUM() OVER.