CROSS JOIN은 SQL에서 사용되는 조인(Join)의 한 유형입니다.
CROSS JOIN은 두 개의 테이블 사이에 모든 가능한 조합을 만들어냅니다.
간단한 예시로 설명해보겠습니다.
예를 들어, 테이블A와 테이블B가 있다고 가정해봅시다.
테이블A:
| A_id | A_name |
|------|--------|
| 1 | John |
| 2 | Jane |
| 3 | Bob |
테이블B:
| B_id | B_name |
|------|--------|
| 101 | Apple |
| 102 | Banana |
이 때, CROSS JOIN을 사용하면 두 테이블 간의 가능한 모든 조합을 만들 수 있습니다. (카테시안 곱)
| A_id | A_name | B_id | B_name |
|------|--------|------|--------|
| 1 | John | 101 | Apple |
| 1 | John | 102 | Banana |
| 2 | Jane | 101 | Apple |
| 2 | Jane | 102 | Banana |
| 3 | Bob | 101 | Apple |
| 3 | Bob | 102 | Banana |
이 결과는 테이블A의 각 행에 테이블B의 모든 행이 조합된 것입니다.
주의할 점은, CROSS JOIN은 가능한 조합의 수가 매우 많을 수 있기 때문에 사용 시 주의해야 합니다.
두 테이블이 각각 100개의 행을 가지고 있다면, CROSS JOIN 결과는 10,000개의 행이 될 것입니다.
또한, CROSS JOIN은 일반적으로 사용보다는 다른 조인 유형(예: INNER JOIN, LEFT JOIN 등)을 선호하는 경향이 있습니다.
https://www.globhy.com/article/buying-horizontal-carbonized-bamboo-flooring-from-china-while-living-in-new-york
https://www.globhy.com/article/why-bamboo-flooring-is-the-eco-friendly-champion-of-sustainable-homes
https://www.hentai-foundry.com/user/bothbest/blogs/20350/Choosing-Bamboo-Flooring-for-My-London-Home
https://yamap.com/users/4784209
https://forum.iscev2024.ca/member.php?action=profile&uid=1357
https://my.usaflag.org/members/bothbest/profile/
https://myliveroom.com/bothbest
https://forum.geckos.ink/member.php?action=profile&uid=642
https://competitorcalendar.com/members/bothbest/profile/
https://www.fruitpickingjobs.com.au/forums/users/bothbest/
https://thefwa.com/profiles/bamboo-flooring
https://chanylib.ru/ru/forum/user/9508/
https://greenteam.app/bothbest
http://www.v0795.com/home.php?mod=space&uid=2304271
https://wearedevs.net/profile?uid=201358
https://www.templepurohit.com/forums/users/chinahousehold/
https://tutorialslink.com/member/FlooringBamboo/68089
https://www.tkaraoke.com/forums/profile/bothbest/
https://www.aipictors.com/users/bothbest
https://forum.index.hu/User/UserDescription?u=2129081
http://programujte.com/profil/75582-chinabamboo/
https://lamsn.com/home.php?mod=space&uid=1290622
https://nexusstem.co.uk/community/profile/chinabamboo/
https://brain-market.com/u/chinabamboo
https://malt-orden.info/userinfo.php?uid=414587
https://www.halaltrip.com/user/profile/255692/chinabamboo/
https://goodgame.ru/user/1698091
https://vcook.jp/users/42177
https://library.zortrax.com/members/china-bamboo/
https://aprenderfotografia.online/usuarios/chinabamboo/profile/
https://plaza.rakuten.co.jp/chinabamboo/
https://plaza.rakuten.co.jp/chinabamboo/diary/202508270000/
https://plaza.rakuten.co.jp/chinabamboo/diary/202508270001/
https://eternagame.org/players/538402
https://www.slmath.org/people/82724
https://www.aipictors.com/users/chinabambooflooring
https://vocal.media/authors/china-bamboo-bfc
https://www.giantbomb.com/profile/chinabamboo/
https://www.keedkean.com/member/44724.html?type=profile