試験CRT-450-JPN トピック1 問題183 スレッド
Salesforce CRT-450-JPNのリアル試験問題集
問題 #: 183
トピック #: 1
問題 #: 183
トピック #: 1
カスタム オブジェクト Trainer_c には、別のカスタム オブジェクト Gym___c へのルックアップ フィールドがあります。
Viridian City ジムとそのトレーナーのレコードを取得する SOQL クエリはどれですか?
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
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
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。