select distinct a.stkcode,case when c.indu_code like '50%' then '金融类' else '非金融类' end as type,stkabb from pgenius.hk_stkcode a left join pgenius.HK_INDCHCOM b on a.comunic = b.comunic and b.edate is null left join pgenius.pub_indu_ref c on b.indunic = c.inner_code and c.indu_sys_mark = 11 where a.lssturefc = 1 and stkcode = '00001' order by stkcode 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00 05:00:00 09:00:00 12:00:00 18:00:00