Which SOQL query will get the record for the Viridian City gym and it’s trainers?

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?
A . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym’
B . SELECT Id, (SELECT Id FROM Trainer_c) FROM Gym_c WHERE Name – Viridian City Gym’
C . SELECT ID FROM Trainer_c WHERE Gym__r.Name – Viridian City Gym’
D . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name – Viridian City Gym’

Answer: A

Latest CRT-450 Dumps Valid Version with 372 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments