SunoData Scientist · Technical ScreenCodemia practiceDaily Credits Consumed by Subscription Tier
Using a generations table (user_id, created_at, credits_used, status) and a subscriptions table (user_id, plan, started_at, ended_at), write SQL that returns daily credits consumed by successful generations, broken out by the plan the user was on at generation time.
Easy
Data Manipulation (SQL/Python)