Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これはデカルト結合でしょうか:
select dog_t.type dog_t.breed date_t.date from dog_t, cat_t, date_t where dog_t.date_key=date_t.date_key
cat_t テーブルを含めると、デカルト結合が発生します...何にも結合されていないためですか?
はい。cat_t.date_key=date_t.date_keyデカルト結合を避けるために追加する必要があります。
cat_t.date_key=date_t.date_key
cat_tしかし、まだテーブルとのクロス結合の問題がありdog_tます。各テーブルから個別の選択を結合する必要があると思います。
cat_t
dog_t