# Did We Actually Make Money?

> Cancelled deals don't count. Of the rest, how many paid off?

Canonical URL: <https://datadriven.io/problems/fulfillable_order_percentage>

Domain: SQL · Difficulty: medium · Seniority: L4

## Problem

Finance is reviewing order economics. Ignoring cancelled orders entirely, what percentage of the remaining orders were profitable (profit greater than 0)? Return a single number rounded to 2 decimal places as profitable_pct.

## Related

- [All practice problems](https://datadriven.io/problems)
- [Mock interview mode](https://datadriven.io/interview/fulfillable_order_percentage)
- [SQL Interview Questions](https://datadriven.io/sql-interview-questions)
- [Data Engineering Interview Prep Guide](https://datadriven.io/data-engineer-interview-prep)
- [Daily Challenge](https://datadriven.io/daily)

---

Source: DataDriven (https://datadriven.io). 100% free data engineering interview prep. Live code execution against Postgres 16, Python 3.11, and Spark sandboxes. No paywall, no premium tier, no signup gate.