SELECT d.* FROM 202000178_article d WHERE d.tb=3 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2020-10-20' and d.edate >='2020-10-20')) order by d.seq desc