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