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

Sagaidāmais izvades paraugs

Tā izskatās pareiza atbilde — tās rindu skaits ir pašai savs, tam nav jāatbilst shēmas tabulām.

daysuser_id
41
33
45

Tava vaicājuma rezultāts parādīsies šeit