select distinct wr_parent from g4_write_book01 where and (wr_num between '-34' and '9966')

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 'and (wr_num between '-34' and '9966')' at line 1

error file : /gnuboard4/bbs/board.php