nerdexam
Salesforce

CRT-450 · Question #49

CRT-450 Question #49: Real Exam Question with Answer & Explanation

Sign in or unlock CRT-450 to reveal the answer and full explanation for question #49. The question stem and answer options stay visible for context.

Question

A custom object Trainer_c has a lookup field to another custom object Gym___c. Which SOQL query will get the record for the Viridian City gym and it's trainers?

Options

  • ASELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym'
  • BSELECT Id, (SELECT Id FROM Trainer_c) FROM Gym_c WHERE Name -Viridian City Gym'
  • CSELECT ID FROM Trainer_c WHERE Gym__r.Name -Viridian City Gym'
  • DSELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name -Viridian City Gym'

Unlock CRT-450 to see the answer

You've previewed enough free CRT-450 questions. Unlock CRT-450 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.

Full CRT-450 Practice