DataDrivenDataDriven
LearnPracticeInterviewDailyJobsCommunity

Lines on the Map

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

Domain
SQL
Difficulty
medium
Seniority
L3

Problem

The ops team is preparing a regional performance recap from the orders log, ignoring any order with no region recorded. For each region whose orders averaged more than 740 in profit apiece, show the region, its order count, and its total profit, highest total profit first.

Summary

Every region keeps its own ledger. The totals set the order.

Practice This Problem

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

Related

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