# Find products that have been purchased with a quantity of 3 or more

Canonical URL: <https://datadriven.io/problems/find-products-that-have-been-purchased-with-a-quantity-of-3-23bc76e2>

Domain: SQL · Difficulty: medium

## Problem

Find products that have been purchased with a quantity of 3 or more. Use EXISTS with a correlated subquery. Select product_id and product_name.

## Related

- [All practice problems](https://datadriven.io/problems)
- [Mock interview mode](https://datadriven.io/interview/find-products-that-have-been-purchased-with-a-quantity-of-3-23bc76e2)
- [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.