InterviewDB Question

Referrer Revenue: Compute Total Revenue Attributed to Each Referral Source

Question Details

Problem You have a referrals table and an orders table. For each referral code, compute the total revenue it generated, the number of distinct users who converted, and the average order value. Return results sorted by total revenue descending. Exampl…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone