This question runs in a pre-configured Salesforce environment - no personal connection required.
Optimize a SOQL query to minimize database operations and improve performance. Given a list of Account IDs, retrieve all related child Accounts and their parent Account information in a single, efficient query. The method should return a map where the key is the parent Account ID and the value is a list of child Account records.
This challenge tests your understanding of SOQL relationship queries, bulkification patterns, and performance optimization techniques critical for PD1 certification.
Welcome to Lightning Challenge!
How It Works
- • Write your solution in the code editor
- • This challenge runs without connecting your own org
- • Submit to check if your solution passes
- • Use hints if you get stuck
Contest Alert
Contest runs July 1 - 31. Complete challenges to climb the leaderboard!
Only the 31 daily challenges shown during this contest count toward points. Earlier dailies don't carry over.