SELECT d.* FROM 202200198_article d WHERE d.tb=7 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2023-06-05' and d.edate >='2023-06-05')) order by d.seq desc