Loading...

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
mid, senior

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.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.