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.
Uzorak očekivanog izlaza
Ovako izgleda ispravan odgovor — broj redaka je njegov vlastiti, ne mora se podudarati s tablicama sheme.
| user_id | purchases |
|---|---|
| 1 | 2 |
| 3 | 1 |
| 5 | 1 |
Prijavi se da vidiš povijest predaja
PrijavaPrijavi se da koristiš AI mentora
Prijava