db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

FROM subquery

A subquery in FROM is a temporary table. Aggregate once to get a count per customer, then aggregate those counts.

task

Average orders per customer, over customers who ordered.

hints