Verify Commit ID Uniqueness
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
You suspect duplicate commit IDs crept into the repo metadata table. Show the total count of commit IDs next to the count of unique commit IDs so you can verify at a glance.
Summary
Duplicate commit IDs. Are there any?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.