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