반응형
join문
-
mysql 두개 테이블 두개 컬럼 inner join 사용해 출력NULL STACK 2018. 8. 21. 13:53
first 테이블의 컬럼 : one / two / three second 테이블의 컬럼 : three / nine first테이블의 one컬럼과 두 테이블 공통인 three컬럼의 데이터 중two컬럼의 three의 데이터가 공통인것 출력하기. select one,A.three from first A inner join second B on A.`three`=B.`three` where two='two데이터'; 나만 알아볼듯.......................ㅋㅋ