Salesforce Certified Platform Developer II — Question 270
Where in a query can you use Geolocation and Distance? (Choose two.)
Answer options
- A. Select clause
- B. Filter clause
- C. Order By clause
- D. Group By clause
Correct answer: B, C
Explanation
The correct answers are B and C because the Filter clause can be used to limit the results based on geographical criteria, while the Order By clause can arrange results according to distance. The Select clause is for specifying the fields to retrieve, and the Group By clause is used for aggregating results, neither of which directly apply to geolocation functions.