Salesforce
PDII · Question #65
How can the DISTANCE and GEOLOCATION functions be used in SOQL queries? (Choose two.)
The correct answer is A. To filter results based on distance from a latitude and longitude C. To order results by distance from a latitude or longitude. See the full explanation below for the reasoning.
Question
How can the DISTANCE and GEOLOCATION functions be used in SOQL queries? (Choose two.)
Options
- ATo filter results based on distance from a latitude and longitude
- BTo get the distance results from a latitude and longitude
- CTo order results by distance from a latitude or longitude
- DTo group results in distance ranges from a latitude and longitude
How the community answered
(24 responses)- A79% (19)
- B13% (3)
- D8% (2)
Community Discussion
No community discussion yet for this question.