반응형
http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=10205&docId=63897961
SELECT a.고객명, b.가입날짜 as 상품1, c.가입날짜 as 상품2, a주소
FROM 고객list a
LEFT OUTER JOIN 상품1 b ON ( a.고객key = b.고객key )
LEFT OUTER JOIN 상품2 c ON ( a.고객key = c.고객key )
반응형