select distinct wr_parent from g4_write_book where ((INSTR(replace(wr_2, ' ', ''), '1-2') OR INSTR(replace(wr_2, ' ', ''), '1-6') ) ) and (wr_num between '-5016' and '994983') and wr_link1_hit < 2 && wr_5 <= limit 0,4

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 'limit 0,4' at line 1

error file : /bbs/board.php