The Standing Fleet
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
We're taking inventory of the `compute`, `storage`, and `gpu` tiers of our node fleet. Count how many different hosts run across those tiers, counting a host that appears in more than one tier only once.
Summary
Some hosts wear many hats. Count the machines, not the mentions.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.