Name Recognition
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
We're assembling a service taxonomy from the health-check catalog, bucketing each service on what its name advertises: 'api' in the name makes it an 'api_service', 'cache' or 'redis' makes it a 'cache_service', 'db' or 'postgres' makes it a 'database', and a name matching none of those is 'other'. List each service once alongside the bucket it lands in.
Summary
The name tells you what it is. Mostly.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.