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

7 of 68 problems

  • Open Cases by PriorityMedium
    SOQLGROUP BYAggregates75% accepted
  • Open Pipeline Rollup by Owner and StageHard
    SOQLGROUP BY ROLLUPAggregates
  • Quarterly Won RevenueHard
StatusTitleTypeTopicsAsked atCreatedAcceptanceDifficulty
Open Cases by PrioritySOQL
GROUP BYAggregates
Oct 2, 202675.0%Medium
Open Pipeline Rollup by Owner and StageSOQL
GROUP BY ROLLUP

Browse problems by topic

  • Opportunity16
  • Trigger.oldMap14
  • Before Update12
  • Bulkification12
  • Contact10
  • Validation10
  • GROUP BY9
  • Semi-Join9
  • Account
SOQLDate FunctionsGROUP BY
  • Top Industries by Won RevenueHard
    SOQLGROUP BYHAVING
  • Maintain Account Contact and Opportunity CountsHard
    Apex TriggerApex TriggerBulkification
  • Recalculate Account Opportunity Amount TotalHard
    Apex TriggerOpportunityAccount
  • Roll Up Contact CountHard
    Apex Triggerafter insertafter delete33% accepted
  • Aggregates
    Oct 9, 2026
    —
    Hard
    Quarterly Won RevenueSOQL
    Date FunctionsGROUP BYAggregates
    Oct 9, 2026—Hard
    Top Industries by Won RevenueSOQL
    GROUP BYHAVINGParent Field Aggregate
    Oct 9, 2026—Hard
    Maintain Account Contact and Opportunity CountsApex Trigger
    Apex TriggerBulkificationAggregate SOQL
    Oct 10, 2026—Hard
    Recalculate Account Opportunity Amount TotalApex Trigger
    OpportunityAccountAggregate SOQL
    Oct 13, 2026—Hard
    Roll Up Contact CountApex Trigger
    after insertafter deleteAggregate SOQL
    Oct 2, 202633.3%Hard
    8
  • 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