ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice

Problems

SOQL queries and bulk-safe Apex triggers, judged against seeded mock orgs. 68 problems

Easy
–/17
Medium
–/19
Hard
–/32

26 of 68 problems

  • Accounts With High-Priority Open CasesEasy
    SOQLSemi-JoinSubquery71% accepted
  • Contacts at Banking AccountsEasy
    SOQLRelationshipsChild-to-Parent100% accepted
  • High-Value Tech AccountsEasy
    SOQLWHEREORDER BY40% accepted
  • Accounts Without OpportunitiesMedium
    SOQLSemi-joinAnti-join100% accepted
  • Big Deals Closing This QuarterMedium
    SOQLDate literalsORDER BY67% accepted
  • Open Cases by PriorityMedium
    SOQLGROUP BYAggregates75% accepted
  • Accounts and Their Open OpportunitiesHard
    SOQLParent-to-ChildNested Subquery50% accepted
  • Accounts Spanning Three or More StagesHard
    SOQLCOUNT_DISTINCTHAVING100% accepted
  • Accounts With More Than Five ContactsHard
    SOQLGROUP BYHAVING100% accepted
  • Accounts With Only Lost DealsHard
    SOQLSemi-JoinAnti-Join33% accepted
  • Contacts at Pipeline-Only AccountsHard
    SOQLSemi-JoinAnti-Join100% accepted
  • Dormant AccountsHard
    SOQLAnti-JoinDate Literals100% accepted
  • Duplicate Contact EmailsHard
    SOQLGROUP BYHAVING33% accepted
  • Executive Contacts at Active Big DealsHard
    SOQLLIKESemi-Join67% accepted
  • Forecast Deals Across the Fiscal-Year BoundaryHard
    SOQLSOQLFiscal Calendar100% accepted
  • High-Value Tech Contacts with Account OwnerHard
    SOQLParent RelationshipsMulti-Level Traversal
  • Hot Accounts with Their ContactsHard
    SOQLRelationshipsParent-to-Child
  • Large-Deal Lead Source AnalysisHard
    SOQLCOUNT_DISTINCTAVG
  • Largest Opportunity per AccountHard
    SOQLNested SubqueryLIMIT
  • Lead Conversion by Source and YearHard
    SOQLGROUP BYDate Functions
  • Monthly Pipeline Created by StageHard
    SOQLDate FunctionsGROUP BY
  • Open Pipeline Rollup by Owner and StageHard
    SOQLGROUP BY ROLLUPAggregates
  • Quarterly Won RevenueHard
    SOQLDate FunctionsGROUP BY
  • Recent High-Priority Case EscalationsHard
    SOQLParent-to-ChildDate Literals
  • Top 3 Industries by RevenueHard
    SOQLGROUP BYHAVING
  • Top Industries by Won RevenueHard
    SOQLGROUP BYHAVING
StatusTitleTypeTopicsAsked atCreatedAcceptanceDifficulty
Accounts With High-Priority Open CasesSOQL
Semi-JoinSubqueryCase
Oct 5, 202670.6%Easy
Contacts at Banking AccountsSOQL
RelationshipsChild-to-Parent
Oct 2, 2026100.0%Easy
High-Value Tech AccountsSOQL
WHEREORDER BY
Oct 2, 202640.0%Easy
Accounts Without OpportunitiesSOQL
Semi-joinAnti-join
Oct 2, 2026100.0%Medium
Big Deals Closing This QuarterSOQL
Date literalsORDER BY
Oct 2, 202666.7%Medium
Open Cases by PrioritySOQL
GROUP BYAggregates
Oct 2, 202675.0%Medium
Accounts and Their Open OpportunitiesSOQL
Parent-to-ChildNested SubquerySemi-Join
Oct 9, 202650.0%Hard
Accounts Spanning Three or More StagesSOQL
COUNT_DISTINCTHAVINGGROUP BY
Oct 9, 2026100.0%Hard
Accounts With More Than Five ContactsSOQL
GROUP BYHAVINGCOUNT
Oct 7, 2026100.0%Hard
Accounts With Only Lost DealsSOQL
Semi-JoinAnti-JoinClosed Lost
Oct 9, 202633.3%Hard
Contacts at Pipeline-Only AccountsSOQL
Semi-JoinAnti-JoinRelationship Query
Oct 9, 2026100.0%Hard
Dormant AccountsSOQL
Anti-JoinDate LiteralsSemi-Join
Oct 9, 2026100.0%Hard
Duplicate Contact EmailsSOQL
GROUP BYHAVINGCOUNT
Oct 7, 202633.3%Hard
Executive Contacts at Active Big DealsSOQL
LIKESemi-JoinParent Fields
Oct 9, 202666.7%Hard
Forecast Deals Across the Fiscal-Year BoundarySOQL
SOQLFiscal CalendarDate Functions
Oct 17, 2026100.0%Hard
High-Value Tech Contacts with Account OwnerSOQL
Parent RelationshipsMulti-Level TraversalNULLS LAST
Oct 9, 2026—Hard
Hot Accounts with Their ContactsSOQL
RelationshipsParent-to-ChildSubquery
Oct 2, 2026—Hard
Large-Deal Lead Source AnalysisSOQL
COUNT_DISTINCTAVGHAVING
Oct 9, 2026—Hard
Largest Opportunity per AccountSOQL
Nested SubqueryLIMITSemi-Join
Oct 9, 2026—Hard
Lead Conversion by Source and YearSOQL
GROUP BYDate FunctionsHAVING
Oct 9, 2026—Hard
Monthly Pipeline Created by StageSOQL
Date FunctionsGROUP BYHAVING
Oct 9, 2026—Hard
Open Pipeline Rollup by Owner and StageSOQL
GROUP BY ROLLUPAggregates
Oct 9, 2026—Hard
Quarterly Won RevenueSOQL
Date FunctionsGROUP BYAggregates
Oct 9, 2026—Hard
Recent High-Priority Case EscalationsSOQL
Parent-to-ChildDate LiteralsSemi-Join
Oct 9, 2026—Hard
Top 3 Industries by RevenueSOQL
GROUP BYHAVINGLIMIT
Oct 2, 2026—Hard
Top Industries by Won RevenueSOQL
GROUP BYHAVINGParent Field Aggregate
Oct 9, 2026—Hard

Browse problems by topic

  • Opportunity16
  • Trigger.oldMap14
  • Before Update12
  • Bulkification12
  • Contact10
  • Validation10
  • GROUP BY9
  • Semi-Join9
  • Account8
  • Before Insert8
  • HAVING8
  • Case7
  • addError6
  • Field Assignment5
  • Lead5
  • Anti-join4
  • Custom Field4
  • Date Functions4
  • after update3
  • Aggregate SOQL3
  • Aggregates3
  • Apex Trigger3
  • Before Delete3
  • Before Trigger3
  • Date literals3
  • Parent-to-Child3
  • After Insert2
  • COUNT2
  • COUNT_DISTINCT2
  • Cross Object Validation2