깍

SQL오류 요것 좀 해결 부탁드립니다.

 

아래와같은 에러가 뜹니다.
회원가입

select * from g4_board where gr_id = '' and bo_list_level <= '1' and bo_table not in order by bo_table

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 'order by bo_table' at line 1

error file : /bbs/register.php

전체순위
select * from g4_board where gr_id = '' and bo_list_level <= '1' and bo_table not in order by bo_table

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 'order by bo_table' at line 1

error file : /bbs/point_rank.php
 
 출근기록
select * from g4_board where gr_id = '' and bo_list_level <= '1' and bo_table not in order by bo_table

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 'order by bo_table' at line 1

error file : /attendance.php

무슨문제가 생겼을가요?

댓글 1개

and bo_table not in 다음에 조건이 와야 하는데 아무값이 없으므로 쿼리 에러입니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
09-12-25 조회 1,094
09-12-25 조회 1,646
09-12-25 조회 1,762
09-12-25 조회 869
09-12-25 조회 1,659
09-12-25 조회 1,639
09-12-25 조회 1,058
09-12-25 조회 1,059
09-12-25 조회 1,754
09-12-25 조회 4,568
09-12-24 조회 1,032
09-12-24 조회 1,762
09-12-24 조회 1,497
09-12-24 조회 3,520
09-12-24 조회 1,223
09-12-24 조회 1,748
09-12-24 조회 1,150
09-12-24 조회 902
09-12-24 조회 1,080
09-12-24 조회 1,688