Welcome home

select cateId,  data.*,main.subject,main.cdate,main.webURL,main.webNewWin,main.show_type,main.imagexml from 201700561_lang_content data,201700561_product main where main.id = data.id and main.tb = data.tb and main.lang = data.lang and data.tb=1 and data.lang='tw' and data.fn_name='product1' and data.columnname='RWDproduct0011' and data.description like '%<show><![CDATA[Y]]></show>%' and (main.inuse = '1' or (main.inuse ='2' and main.sdate <= '2017-10-24' and main.edate >='2017-10-24')) order by main.seq desc
your graphy , your world.