Endpoint With Most GET-Only Users
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
Find the endpoint with the most users who have exclusively used the GET method (case-insensitive). Any user who has ever made a non-GET call is excluded entirely. Ignore records with null user_id. Return the endpoint and its count of GET-only users.
Summary
Read-only users have a favorite endpoint.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.