DataDriven
LearnPracticeInterviewDiscussDailyJobs

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
L4

Problem

The platform team wants to compare automated build activity on main against the release branch for 2026. Treat any build whose trigger isn't 'manual' as a merge build. For each branch, show how many merge builds happened, expressed both as a whole number and as a decimal, plus the average build duration.

Summary

How many builds came from merges?

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons