#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.

Oodatava väljundi näidis

Nii näeb õige vastus välja — selle ridade arv on omaette ega pea ühtima skeemi tabelitega.

daysuser_id
41
33
45

Sinu päringu tulemus ilmub siia