select *,sj.ADM_DEP from bs_sgc_sz_dagl sd left join att_waga_base sj on sd.waga_code = sj.waga_code