Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 42 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 42
Topic #: 1
[All Certified Platform Developer II Questions]

Which two relationship queries use the proper syntax? (Choose two.)

  • A. SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry = 'Media'
  • B. SELECT Name, (SELECT LastName FROM Contacts__r) FROM Account
  • C. SELECT Name, (SELECT LastName FROM Contacts) FROM Account
  • D. SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Jeet89123
5 months, 2 weeks ago
Selected Answer: CD
CD as Account is standard object and Contact is child object
upvoted 1 times
...
costansin
1 year, 8 months ago
C,D. Account is a standard field on contact, so no __r
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...