#1143

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.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

daysuser_id
41
33
45

Your query result will appear here