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 질문답변

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

+
제목 글쓴이 날짜 조회
16년 전 조회 998
16년 전 조회 1,563
16년 전 조회 1,676
16년 전 조회 776
16년 전 조회 1,598
16년 전 조회 1,568
16년 전 조회 977
16년 전 조회 987
16년 전 조회 1,645
16년 전 조회 4,489
16년 전 조회 957
16년 전 조회 1,673
16년 전 조회 1,409
16년 전 조회 3,443
16년 전 조회 1,143
16년 전 조회 1,684
16년 전 조회 1,069
16년 전 조회 830
16년 전 조회 987
16년 전 조회 1,609