#1140

Purchases per user

Product analytics over the a_events table (event type in kind: visit, cart, purchase). Count the purchases per user. Return user_id and purchases, ordered by user_id. Exclude users with no purchases.

Vzorec pričakovanega izhoda

Tako izgleda pravilen odgovor — ima svoje število vrstic in se ni treba ujemati s tabelami sheme.

user_idpurchases
12
31
51

Rezultat vaše poizvedbe se bo prikazal tukaj