SELECT d.* FROM 202000293_article d WHERE d.tb=7 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2024-11-04' and d.edate >='2024-11-04')) and (d.member_level is null or d.member_level ='' or (d.member_level='1' and d.member_level_vals like '%nologin%') ) order by d.seq desc