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년 전 조회 963
16년 전 조회 1,535
16년 전 조회 1,641
16년 전 조회 756
16년 전 조회 1,569
16년 전 조회 1,544
16년 전 조회 955
16년 전 조회 961
16년 전 조회 1,614
16년 전 조회 4,465
16년 전 조회 935
16년 전 조회 1,646
16년 전 조회 1,388
16년 전 조회 3,413
16년 전 조회 1,121
16년 전 조회 1,661
16년 전 조회 1,045
16년 전 조회 806
16년 전 조회 952
16년 전 조회 1,585
🐛 버그신고