# Executive Contacts at Active Big Deals

**Type:** SOQL · **Difficulty:** Hard · **Topics:** LIKE, Semi-Join, Parent Fields, OR/AND Logic

Practice this problem interactively (write and run your SOQL against realistic data): https://www.forcechallenges.com/problems/executive-contacts-active-big-deals

## Problem

**Scenario**
The enterprise sales team wants executive sponsors for its biggest live deals. They need the senior Contacts at customers that currently have a large Opportunity in the final negotiation stage, so an executive can reach out personally.

**Task**
Write one SOQL query on `Contact` that returns Contacts who meet both conditions:
1. **Senior title:** the `Title` contains `VP`, or contains `Chief`, or starts with `Director`.
2. **Active big deal:** the Contact's Account has at least one Opportunity in the stage `Negotiation/Review` with an `Amount` **greater than 250,000**.

Sort the result by the Account name, then by the Contact's last name.

**Expected output**
One row per Contact with the columns `Id`, `Name`, `Title` and `Account.Name`.

**Example**
- Acme has a Negotiation/Review deal worth 500,000. Its VP Sales and its Chief Executive Officer are returned, but its Engineer is not (title does not match).
- Globex has a Negotiation/Review deal worth 100,000. None of its Contacts are returned (deal too small).
- Initech has a Director of Sales but only a Proposal-stage deal worth 900,000. Nobody is returned (wrong stage).

## Constraints

Use one query on Contact. Combine the title conditions with OR inside parentheses, then AND them with a semi-join on Opportunity. Read the account name through the parent relationship (Account.Name). Order by Account.Name, then LastName.

---
Source: ForceChallenges · last updated 2026-10-23
