Loading...

The Merge Counter

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy
Seniority
mid

Problem

Count CI builds triggered by merges in 2026. A build is merge-triggered if the trigger is not 'manual'. Show the count (as both integer and decimal) and average build duration separately for the 'main' branch and the 'release' branch.

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.