SpinTheMic
Pro

Interview practice question

First-touch marketing channel for each customer

Data Analyst · SQL for Analytics · Intermediate

You have a table of marketing touchpoints per user. How do you find the first-touch and last-touch channel for each customer who purchased?

What a strong answer covers

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

  • Touchpoints before purchase only.
  • ROW_NUMBER ascending for first, descending for last.
  • Join to purchases.
  • Lookback window.
  • Compare channel counts.
Practise this topic

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

See all topics