select tb.id, tb1.nm, tb2.nm, tb3.nm, tb4.nm
from tbname as tb
left join tbname1 as tb1 on tb1.id = tb.tb1_id
left join tbname2 as tb2 on tb2.id = tb.tb2_id
left join tbname3 as tb3 on tb3.id = tb.tb3_id
left join tbname4 as tb4 on tb4.id = tb.tb4_id