Use a FULL OUTER JOIN between users and content_items, matching user_id to creator_id
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
Problem
Use a FULL OUTER JOIN between users and content_items, matching user_id to creator_id. Return username and title so you can see users who created no content and content with no matching user.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.