InterviewDB
Question
Loyal Members: Identify Users Who Made Purchases in Every Month of a Given Year
Onsite
Question Details
Problem You have a purchases table. Find all users who made at least one purchase in every calendar month of the year 2023. Example result: Follow-ups Rewrite the query to work for any year passed as a parameter, not just 2023. The business defines "…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite