equi join
-
1. JOIN _ CROSS JOIN, SELF JOIN, EQUI JOINSQL/sql 문법(mysql, mariaDB) 2024. 5. 4. 09:12
▤ 목차" data-ke-type="html">HTML 삽입미리보기할 수 없는 소스 한 개 이상의 테이블 들을 연결 또는 결합하여 데이터를 출력하는 방법이다. JOIN은 관계형 데이터베이스의 가장 큰 장점이면서 대표적인 핵심 기능이라고 할 수 있다. 일반적인 경우 행들은 PRIMARY KEY(PK)나 FOREIGN KEY(FK) 값의 연관에 의해 JOIN이 성립된다. 2개의 테이블이 존재할 때, 공통된 열을 통해 2개의 테이블을 합치는 것을 말한다. JOIN의 종류CROSS JOINSELF JOINEQUI JOININNER JOINOUTER JOIN✔ cross join두 개의 테이블 사이에 모든 가능한 조합을 만들어낸다.💻 코드로 보기SELECT j..