Service Component Classification
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
We're enriching the service catalog. If a service name contains '/', classify it as 'Multi-Component'; otherwise classify it as 'Single-Component'. Show each unique service name with its classification.
Summary
Classified by naming pattern.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.