JDBC Driver for SurveyMonkey

Build 23.0.8839

JOIN クエリ

CData JDBC Driver for SurveyMonkey は次の例のような標準SQL の結合をサポートします。

内部結合

内部結合は、結合条件に合う行のみを両テーブルから選択します。

SELECT MySurvey_Questions.QuestionFamily, MySurvey_Responses.ChoiceId FROM MySurvey_Questions, MySurvey_Responses WHERE MySurvey_Questions.QuestionId=MySurvey_Responses.QuestionId

左結合

左結合は、FROM テーブルのすべての行とJOIN テーブルの条件に合う行のみを選択します。

SELECT MySurvey_Questions.QuestionFamily, MySurvey_Responses.ChoiceId FROM MySurvey_Questions LEFT OUTER JOIN MySurvey_Responses ON MySurvey_Questions.QuestionId=MySurvey_Responses.QuestionId

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839