Loading interview...
Click vs Non-Click Rates
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Interview Prompt
The search quality team wants to measure how often users click a result when the result set is small. In a single row, compute two percentages relative to all search records: the share of queries where a result was clicked and the results count was 3 or fewer, and the share where no result was clicked despite the results count being 3 or fewer.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision