EduFlow
SQL for Analysts

Checkpoint: Querying with Intent

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

Huda wants web orders placed in December 2025 that used any coupon. Which WHERE clause is correct?

Question 2 of 5

SELECT COUNT(*), COUNT(closed_at) FROM support_tickets returns 873 and 817. What do the 56 missing tickets represent?

Question 3 of 5

What does this expression return for a ticket whose satisfaction is NULL?

SQL
CASE
  WHEN satisfaction >= 4 THEN 'happy'
  WHEN satisfaction <= 2 THEN 'unhappy'
END
Question 4 of 5

WHERE strftime('%w', opened_at) = 0 returns no tickets, although many were opened on Sundays. Why?

Question 5 of 5

A report pages through the newest orders 25 at a time. Which ORDER BY gives stable pages?

5 questions unanswered