SELECT bmc.memberid , case then decode(bmc.source, , , 'TOPfitIBL') ELSE decode(bmc.source, , , 'TOPfitNCD') END || --bmc.source as 来源, decode(bmc.market, , , '二级市场', null) as 市场来源 , BMC.FNCNAME functionName, to_char(bmc.effectdate,'yyyy/mm/dd')||' 至…