SELECT * FROM zibnawa.notice_list WHERE 1=1 AND code = '' AND idx < ORDER BY idx DESC LIMIT 0, 1