Salesforce
PDII · Question #253
A company has a custom object, Request_c, that has a checkbox field, Completed_c, and a Lookup to Opportunity, Opportunity_c. Which SOQL query will get a unique list of all of the Opportunity…
Sign in or unlock PDII to reveal the answer and full explanation for question #253. The question stem and answer options stay visible for context.
Question
A company has a custom object, Request_c, that has a checkbox field, Completed_c, and a Lookup to Opportunity, Opportunity_c. Which SOQL query will get a unique list of all of the Opportunity records that have a Completed Request?
Options
- ASELECT Opportunity_c FROM Request_c WHERE Id IN (SELECT Id FROM Request_c Where
- BSELECT Opportunity_c FROM Request_c WHERE Completed_c = true
- CSELECT Id FROM Opportunity WHERE Id IN (SELECT Id FROM Request_c WHERE Completed
- DSELECT Id From Opportunity WHERE Id IN (SELECT Opportunity_c FROM Request_c WHERE
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.