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년 전 조회 999
16년 전 조회 1,564
16년 전 조회 1,676
16년 전 조회 776
16년 전 조회 1,599
16년 전 조회 1,569
16년 전 조회 978
16년 전 조회 988
16년 전 조회 1,646
16년 전 조회 4,491
16년 전 조회 959
16년 전 조회 1,675
16년 전 조회 1,411
16년 전 조회 3,444
16년 전 조회 1,145
16년 전 조회 1,685
16년 전 조회 1,071
16년 전 조회 831
16년 전 조회 990
16년 전 조회 1,611