¾È±Ô °øºÎ¹æ

MS-SQL > ¿©·¯ Å×À̺í Á¶ÀÎ Çϱâ(Multi Join)

µî·ÏÀÏ : 2017-07-03 19:03 Á¶È¸¼ö : 52,613

¿©·¯°³ÀÇ Å×À̺íÀ» Á¶ÀÎÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.

select A.name, B.ut_board_idx, B.ut_id, C.area1, D.area2 from order_list A left outer join yutong B on A.o_t_ut_id=B.ut_id join ut_area C on A.o_t_area1=C.step1 join ut_area D on A.o_t_area1=D.step1 where A.name='Ã־ȱÔ' order by A.o_t_writeday asc
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.