본문 바로가기

Yoon.s

검색하기
Yoon.s
프로필사진 yo_onHJ

  • 분류 전체보기 (60)
    • Mac (4)
    • 인프라 (23)
      • linux (12)
      • Docker (10)
      • Kubernetes (1)
    • 프론트 (8)
      • HTML CSS (0)
      • Javascript (4)
      • React (4)
    • 백 (25)
      • DB (10)
      • Java (3)
      • Spring (10)
      • Python (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • mysql
  • Access denied for user ''@'localhost'
  • install
  • root
  • DB
  • jar배포
  • docker container
  • sts
  • springboot
  • ps
  • jdk
  • 설치
  • Dockerfile
  • react map error
  • spring framework
  • mac mariadb
  • Oracle
  • sudo
  • mysql error
  • springboot jar
  • 도커파일
  • brew install mariadb
  • 도커
  • 파일 시스템
  • Docker
  • jar deploy
  • map is not a function
  • systemd
  • 관리
  • join
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록조인 (1)

Yoon.s

[Oracle] SQL문_JOIN

일단, 테이블 확인 0. JOIN select * from emp, dept; select count(*) from emp, dept; --64건 크로스로 모두를 연결하여 64건이 나오게 됨. 예. SMITH의 deptno 20(emp) - 10(dept) - 20 - 30 - 40 1. INNER JOIN 가장 일반적인 조인 형태 select * from emp, dept where emp.deptno=dept.deptno;--16건 - 이때, 조건에 null값이 존재한다면 (deptno가 null인 값) 데이터 반환되지 않아 결과에 나오지 않는다!! 2. OUTER JOIN 두 테이블에서 어느 한 테이블의 데이터가 없을 경우, 전체 row수를 보존하면서 조인 - 조건에 null 값이 존재하지만, 데이..

백/DB 2020. 8. 24. 18:46
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바