select wr_id, wr_subject from gb_write_rdata_eng where wr_comment = '0' and wr_notice = '0' and wr_num = '-1' and wr_reply < '' and ( ( like '%ion=%') ) order by wr_notice desc, wr_num desc, wr_reply desc limit 1

1064 : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'like '%ion=%') ) order by wr_notice desc, wr_num desc, wr_rep