SOQL queries and bulk-safe Apex triggers, judged against seeded mock orgs. 68 problems
68 of 68 problems
| Oct 2, 2026 |
| 100.0% |
| Easy |
| High-Value Tech Accounts | SOQL | WHEREORDER BY | Oct 2, 2026 | 40.0% | Easy |
| Accounts Without Opportunities | SOQL | Semi-joinAnti-join | Oct 2, 2026 | 100.0% | Medium |
| Big Deals Closing This Quarter | SOQL | Date literalsORDER BY | Oct 2, 2026 | 66.7% | Medium |
| Open Cases by Priority | SOQL | GROUP BYAggregates | Oct 2, 2026 | 75.0% | Medium |
| Accounts and Their Open Opportunities | SOQL | Parent-to-ChildNested SubquerySemi-Join | Oct 9, 2026 | 50.0% | Hard |
| Accounts Spanning Three or More Stages | SOQL | COUNT_DISTINCTHAVINGGROUP BY | Oct 9, 2026 | 100.0% | Hard |
| Accounts With More Than Five Contacts | SOQL | GROUP BYHAVINGCOUNT | Oct 7, 2026 | 100.0% | Hard |
| Accounts With Only Lost Deals | SOQL | Semi-JoinAnti-JoinClosed Lost | Oct 9, 2026 | 33.3% | Hard |
| Contacts at Pipeline-Only Accounts | SOQL | Semi-JoinAnti-JoinRelationship Query | Oct 9, 2026 | 100.0% | Hard |
| Dormant Accounts | SOQL | Anti-JoinDate LiteralsSemi-Join | Oct 9, 2026 | 100.0% | Hard |
| Duplicate Contact Emails | SOQL | GROUP BYHAVINGCOUNT | Oct 7, 2026 | 33.3% | Hard |
| Executive Contacts at Active Big Deals | SOQL | LIKESemi-JoinParent Fields | Oct 9, 2026 | 66.7% | Hard |
| Forecast Deals Across the Fiscal-Year Boundary | SOQL | SOQLFiscal CalendarDate Functions | Oct 17, 2026 | 100.0% | Hard |
| High-Value Tech Contacts with Account Owner | SOQL | Parent RelationshipsMulti-Level TraversalNULLS LAST | Oct 9, 2026 | — | Hard |
| Hot Accounts with Their Contacts | SOQL | RelationshipsParent-to-ChildSubquery | Oct 2, 2026 | — | Hard |
| Large-Deal Lead Source Analysis | SOQL | COUNT_DISTINCTAVGHAVING | Oct 9, 2026 | — | Hard |
| Largest Opportunity per Account | SOQL | Nested SubqueryLIMITSemi-Join | Oct 9, 2026 | — | Hard |
| Lead Conversion by Source and Year | SOQL | GROUP BYDate FunctionsHAVING | Oct 9, 2026 | — | Hard |
| Monthly Pipeline Created by Stage | SOQL | Date FunctionsGROUP BYHAVING | Oct 9, 2026 | — | Hard |
| Open Pipeline Rollup by Owner and Stage | SOQL | GROUP BY ROLLUPAggregates | Oct 9, 2026 | — | Hard |
| Quarterly Won Revenue | SOQL | Date FunctionsGROUP BYAggregates | Oct 9, 2026 | — | Hard |
| Recent High-Priority Case Escalations | SOQL | Parent-to-ChildDate LiteralsSemi-Join | Oct 9, 2026 | — | Hard |
| Top 3 Industries by Revenue | SOQL | GROUP BYHAVINGLIMIT | Oct 2, 2026 | — | Hard |
| Top Industries by Won Revenue | SOQL | GROUP BYHAVINGParent Field Aggregate | Oct 9, 2026 | — | Hard |
| Block Personal Email Addresses on Leads | Apex Trigger | LeadEmail ValidationBefore Trigger | Oct 13, 2026 | 100.0% | Easy |
| Copy Account Billing City to Shipping City | Apex Trigger | AccountBefore InsertField Assignment | Oct 13, 2026 | 100.0% | Easy |
| Default Account Rating | Apex Trigger | before insertBulkification | Oct 2, 2026 | 50.0% | Easy |
| Easy Problem: Find Duplicate Contacts | Apex Trigger | EasyApex TriggerContact | Oct 12, 2026 | — | Easy |
| Escalate Cases with Urgent Subjects | Apex Trigger | CaseBefore InsertString Handling | Oct 13, 2026 | — | Easy |
| Normalize Contact Email to Lowercase | Apex Trigger | ContactBefore InsertBefore Update | Oct 13, 2026 | — | Easy |
| Prevent Negative Opportunity Amounts | Apex Trigger | OpportunityBefore TriggerValidation | Oct 13, 2026 | — | Easy |
| Require Contact Last Name | Apex Trigger | ContactValidation | Oct 13, 2026 | — | Easy |
| Require Email for Contact Managers | Apex Trigger | ContactBefore TriggerValidation | Oct 12, 2026 | — | Easy |
| Require Lead Company | Apex Trigger | LeadValidation | Oct 13, 2026 | — | Easy |
| Require Resolution Before Closing a Case | Apex Trigger | CaseValidationBefore Update | Oct 13, 2026 | — | Easy |
| Set Case Priority from Origin | Apex Trigger | CaseBefore InsertField Assignment | Oct 13, 2026 | 100.0% | Easy |
| Set Case Status to Working for Phone Cases | Apex Trigger | CaseBefore Insert | Oct 13, 2026 | 100.0% | Easy |
| Set Lead Rating from Lead Source | Apex Trigger | LeadBefore InsertField Assignment | Oct 13, 2026 | — | Easy |
| Block Case Reopening after Resolution | Apex Trigger | CaseTrigger.oldMapBefore Update | Oct 13, 2026 | 100.0% | Medium |
| Block Contact Deletion for VIP Contacts | Apex Trigger | ContactBefore DeleteTrigger.old | Oct 13, 2026 | — | Medium |
| Block Deleting Accounts with Open Deals | Apex Trigger | before deleteaddErrorBulkification | Oct 2, 2026 | — | Medium |
| Closed Won Makes a Customer | Apex Trigger | after updateTrigger.oldMapBulkification | Oct 2, 2026 | — | Medium |
| Create a Welcome Contact for Every New Account | Apex Trigger | AccountContactAfter Insert | Oct 13, 2026 | — | Medium |
| Prevent Account Rating from Dropping from Hot | Apex Trigger | AccountTrigger.oldMapBefore Update | Oct 13, 2026 | — | Medium |
| Prevent Closed Won Opportunities from Reopening | Apex Trigger | OpportunityTrigger.oldMapBefore Update | Oct 13, 2026 | — | Medium |
| Prevent Duplicate Opportunity Names per Account | Apex Trigger | OpportunityDuplicate CheckBulkification | Oct 13, 2026 | — | Medium |
| Prevent Lead Email Changes after Qualification | Apex Trigger | LeadTrigger.oldMapBefore Update | Oct 13, 2026 | — | Medium |
| Prevent Opportunity Close Date from Moving Backward | Apex Trigger | OpportunityTrigger.oldMapBefore Update | Oct 13, 2026 | — | Medium |
| Prevent Opportunity Probability Decrease | Apex Trigger | OpportunityTrigger.oldMap | Oct 13, 2026 | — | Medium |
| Record Account Phone Changes in Description | Apex Trigger | Apex TriggerBefore UpdateTrigger.oldMap | Oct 17, 2026 | — | Medium |
| Require Competitor for Closed Lost Deals | Apex Trigger | OpportunityCustom FieldBefore Update | Oct 13, 2026 | — | Medium |
| Require Description for Large Opportunities | Apex Trigger | OpportunityValidation | Oct 13, 2026 | — | Medium |
| Require Next Step for Open Opportunities | Apex Trigger | OpportunityBefore InsertBefore Update | Oct 13, 2026 | — | Medium |
| Sync Contact City When Account Billing City Changes | Apex Trigger | AccountContactAfter Update | Oct 13, 2026 | — | Medium |
| Block Account Status Changes When Contacts Exist | Apex Trigger | AccountContactCross Object Validation | Oct 13, 2026 | 100.0% | Hard |
| Create a Follow-Up Task When Opportunity Stage Changes | Apex Trigger | OpportunityTaskAfter Update | Oct 13, 2026 | — | Hard |
| Maintain Account Contact and Opportunity Counts | Apex Trigger | Apex TriggerBulkificationAggregate SOQL | Oct 10, 2026 | — | Hard |
| Prevent Account Name Changes | Apex Trigger | AccountTrigger.oldMapBefore Update | Oct 13, 2026 | — | Hard |
| Prevent Deleting Contacts Linked to Open Opportunities | Apex Trigger | ContactOpportunityBefore Delete | Oct 13, 2026 | — | Hard |
| Prevent Lead Company Name Changes after Qualification | Apex Trigger | LeadTrigger.oldMapBefore Update | Oct 13, 2026 | — | Hard |
| Recalculate Account Opportunity Amount Total | Apex Trigger | OpportunityAccountAggregate SOQL | Oct 13, 2026 | — | Hard |
| Require Approval Before Large Deal Closure | Apex Trigger | OpportunityCustom FieldTrigger.oldMap | Oct 13, 2026 | — | Hard |
| Require Case Contact for Escalations | Apex Trigger | CaseCustom FieldValidation | Oct 13, 2026 | — | Hard |
| Require Reason When Opportunity Amount Drops | Apex Trigger | OpportunityTrigger.oldMapCustom Field | Oct 13, 2026 | — | Hard |
| Roll Up Contact Count | Apex Trigger | after insertafter deleteAggregate SOQL | Oct 2, 2026 | 33.3% | Hard |
| Sync Opportunity Client Contact to Its Account | Apex Trigger | OpportunityAccountCross Object Update | Oct 13, 2026 | — | Hard |