Solved
SQL6
Milestones
Top 100
7-day streak
832 runs in the past 26 weeksActive days: 8 · Max streak: 7
MarAprMayJunJulAugSep
Recent solves
Return username and SUM(total_amount) AS total_spent for users whose account_status is 'active' usin
SQL · medium · lesson
Find usernames that have NO transactions
SQL · medium · lesson
Return username and the count of transactions per user using LEFT JOIN so users with no transactions
SQL · medium · lesson
List every product alongside the buyer's username and the transaction amount
SQL · medium · lesson
Show every user along with the device type and OS name from their sessions
SQL · medium · lesson
Join users, transactions, and products to show what each user purchased
SQL · medium · lesson
Use a FULL OUTER JOIN between users and content_items, matching user_id to creator_id
SQL · medium · lesson
Use a RIGHT JOIN to show all transactions alongside the username of the buyer
SQL · medium · lesson
Show all users and their sessions longer than 300 seconds
SQL · medium · lesson
Show each user with their clicked ad campaigns using LEFT JOIN, ordered by username and campaign
SQL · medium · lesson