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