SELECT d.* FROM 201900206_article d WHERE d.tb=7 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2019-09-20' and d.edate >='2019-09-20')) order by d.seq desc