SpinTheMic
Pro

Interview practice question

Strict ordered funnel with time limits

Data Analyst · SQL for Analytics · Experienced

Product wants a funnel where users must view a product, add it to cart and purchase in that order, each step within one hour of the previous. How do you write it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Per user, find first step-1 time.
  • Next step after previous within 1 hour.
  • Join or MIN with conditions step by step.
  • Handle multiple attempts.
  • Window functions or MATCH_RECOGNIZE.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics