nerdexam
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)
  • A
    79% (19)
  • B
    13% (3)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full PDII Practice