Skip to content
Founding beta: 7 of 50 free spots leftClaim yours

The win-back email list came back empty

Bug huntEasyPython · PostgresDatabase15 min

MKT-318: The win-back email list is empty

Reported by: Olivia Brandt (Marketing, Fernwood Books) · Priority: Medium · Component: Mailing lists

Symptom

Every month Marketing sends a win-back email to customers who signed up but never bought anything. The list came back with zero rows this morning and the campaign is scheduled for tomorrow. Last month it had a few dozen names. The only thing that changed in between is that we turned on guest checkout in July.

Steps to reproduce

Run the "never ordered" mailing-list query against the sample data in the repo and compare it with the customers table: several customers have no orders at all.

Expected

Every customer without an order is listed, with their id, name and email, ordered by id. In the sample data that is Liam Chaudhry, Priya Nair, Aiko Tanaka and Felix Brandt.

Actual

No rows.

© AICodingRound. Ticket text for practice on this site; see Terms.

How it works

  1. 1Fix the problemin a real codebase.
  2. 2Use your ownAI, or none.
  3. 3Submit, then answera few short questions.
  4. 4Get your gradeand feedback.

Guides that use this problem

All guides

More on SQL practice

View all

Related problems

View all