SELECT d.* FROM 201900449_article d WHERE d.tb=9 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2020-08-06' and d.edate >='2020-08-06')) order by d.seq desc