Table Relation

Hojun Jeong·2022년 11월 2일
0

join

: 여러 테이블을 중복 제거해서 관계맺는 목적으로 만듬 , 외래키와 독립됨

  • inner join

  • outer join

    • left outer join

    • right outer join

union

  • union all

    • 두 select 절의 칼럼은 같음
    • order by 제일 마지막 절에

    select ... from ...
    union all
    select ... from ...
    order by

  • union (distinct) == union

profile
Student , Junior Developer

0개의 댓글