Loading interview...

Message Length

A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
easy

Interview Prompt

The engineering manager believes that longer commit messages correlate with riskier changes and wants data to back it up. For each author, show the average commit message length, the total number of commits, and the average lines of code added per commit. Skip any commits that have no message. Only include authors with more than two commits, listed from longest average message to shortest.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision