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