SELECT * FROM (SELECT * FROM g5_write_b01 WHERE wr_id = wr_parent ORDER by wr_id desc) as a WHERE wr_is_comment = '0' and wr_8 = '1' and wr_ingi <> '9' and wr_hospital <> '오엠성형외과의원' and wr_hospital <> '에이트성형외과의원' and wr_hospital <> '더도어성형외과의원' and wr_hospital <> '히트성형외과의원' and wr_hospital <> '제이티성형외과의원' and wr_hospital <> '마인드성형외과' and wr_hospital <> '슈가성형외과의원' and wr_hospital <> '디에이성형외과의원' and wr_hospital <> '처음처럼성형외과의원' and wr_hospital <> '바나나성형외과의원' and wr_hospital <> '위버스성형외과의원' and wr_hospital <> '디데이성형외과의원' and wr_hospital <> '비더뉴의원(구 코노피의원)' and wr_hospital <> '메이드영성형외과' GROUP by a.wr_hospital ORDER by wr_num limit 0, -6 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 '-6' at line 1 error file : /bbs/board.php |