試験CRT-450-JPN トピック1 問題183 スレッド

Salesforce CRT-450-JPNのリアル試験問題集
問題 #: 183
トピック #: 1
カスタム オブジェクト Trainer_c には、別のカスタム オブジェクト Gym___c へのルックアップ フィールドがあります。
Viridian City ジムとそのトレーナーのレコードを取得する SOQL クエリはどれですか?

おすすめの解答:B 解答を投票する

This SOQL query will get the record for the Viridian City gym and its trainers by using a subquery to fetch the related records from the Trainer_c object. The subquery uses the relationship name Trainer_c, which is the plural form of the custom object name with a suffix of __c. The main query uses the Name field of the Gym_c object to filter by the gym name. The query also uses the correct syntax for SOQL, which requires the use of the equal sign (=) for comparison operators, and single quotes (') for string literals. References: SOQL SELECT Syntax, [SOQL Relationships Between Objects], [SOQL Subquery]
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships.h
:
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_subquer

Matsubara 2024-02-25 05:05:41

コメント

正解:
?」こちらは投票コメントになっております。普通のコメントに切り替えます。
ニックネーム: 送信 キャンセル
投票コメントをあげるごとに、選択した解答の投票数を1つ増やすことができます。

他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡