Salesforce
Foundations Track · Easy · 15 min
Partner Contracts Expiring Soon
Partnership ops wants a list of non-renewing contracts that are about to end. Using 2024-11-01 as the reference date, return partner_id, region, and end_date...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Salesforce-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
Partnership ops wants a list of non-renewing contracts that are about to end. Using 2024-11-01 as the reference date, return partner_id, region, and end_date for contracts ending in the next 30 days where auto_renew is false. Sort by end_date, then partner_id.
partner_contracts
| partner_id | region | ||
|---|---|---|---|
| 1 | NA | 2024-11-10 | false |
| 2 | EMEA | 2024-11-25 | true |
| 3 | APAC | 2024-12-01 | false |
| 4 | NA | 2024-12-15 | false |
| 5 | LATAM | 2024-11-03 | false |
SQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.