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