Version subscriptions per user: return user_id, subscription_id, plan, effective_from (= start_date), is_current (1 for latest). Order by user_id, effective_from. Limit 50.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.