SQL practice: Mock Test

Chapter 35 · 10 questions · included in full access

  1. Question 1 · hard

    List all branches that have never had an order.

    Solve it in your browser
  2. Question 2 · hard

    Find the top 3 products by total revenue.

    Solve it in your browser
  3. Question 3 · hard

    Count the orders per month.

    Solve it in your browser
  4. Question 4 · hard

    Find all employees who earn more than their own manager.

    Solve it in your browser
  5. Question 5 · hard

    Find customers who have never ordered.

    Solve it in your browser
  6. Question 6 · hard

    Find the 2nd highest salary in the company.

    Solve it in your browser
  7. Question 7 · hard

    For each branch, find its single highest-value order.

    Solve it in your browser
  8. Question 8 · hard

    For each customer, find the average number of days between their orders.

    Solve it in your browser
  9. Question 9 · hard

    Show every branch's revenue and what percent of total company revenue it represents.

    Solve it in your browser
  10. Question 10 · hard

    Find the best-selling product in each branch — one row per branch.

    Solve it in your browser

These questions are part of full access.

The first chapters of every track are free. Full access is a one-time payment.

See pricing