DataDriven
LearnPracticeInterviewDiscussDailyJobs

API Call Distribution Fraction

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

Domain
SQL
Difficulty
hard
Seniority
L4

Problem

The API observability team is building a traffic breakdown dashboard. For each combination of HTTP method and response status in the call logs, compute what share of total call volume that combination represents. Return the method, status, and the fraction as a decimal.

Summary

Not all endpoints are created equal.

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