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