Days to first purchase
For each user who purchased, compute how many days passed from the signup date (signup_date in a_users) to their FIRST purchase. Return user_id and the number of days days, ordered by user_id.
Exempel på förväntad utdata
Så här ser ett korrekt svar ut — radantalet är dess eget, det behöver inte matcha schematabellerna.
| days | user_id |
|---|---|
| 4 | 1 |
| 3 | 3 |
| 4 | 5 |
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga in