Loading interview...
Regional Profits
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
Headquarters is preparing the quarterly P&L deck and needs a regional breakdown. For every region that has order data, show the total profit and the number of orders. Some orders have missing region information and should be left out. Regions should appear from highest total profit to lowest.
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