EduFlow
SQL for Analysts

Checkpoint: Aggregation and Joins

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

Karim asks for the average shipping fee per order by channel. A colleague joins orders to order_items and uses AVG(o.shipping_fee). What’s wrong?

Question 2 of 5

Which query lists customers with at least 5 non-cancelled orders?

Question 3 of 5

Every category should appear with its number of active products, zero included. Which join is right?

Question 4 of 5

Which query finds products that have never been returned?

Question 5 of 5

To list employees hired before their own manager, which condition fits employees e JOIN employees m ON m.employee_id = e.manager_id?

5 questions unanswered