Loading...

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
junior

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.

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.