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
|