DataDriven
LearnPracticeInterviewDiscussDaily

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

Domain
SQL
Difficulty
hard
Seniority
L5

Problem

Does pipeline throughput correlate with duration? For each pipeline, calculate the average duration and the average net row output (rows_out minus 10% of rows_in as overhead). Then compute the correlation between average duration and average net output across all pipelines, rounded to 2 decimals. Return a single correlation value.

Summary

Does throughput correlate with duration?

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