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

· 2009-12-25 (금) 00:31:21 · 4542 · 1

 

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

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개

2009-12-25 (금) 09:52:49
and bo_table not in 다음에 조건이 와야 하는데 아무값이 없으므로 쿼리 에러입니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
09-12-25 조회 1,070
09-12-25 조회 1,618
09-12-25 조회 1,729
09-12-25 조회 835
09-12-25 조회 1,640
09-12-25 조회 1,615
09-12-25 조회 1,028
09-12-25 조회 1,037
09-12-25 조회 1,715
09-12-25 조회 4,543
09-12-24 조회 1,010
09-12-24 조회 1,736
09-12-24 조회 1,464
09-12-24 조회 3,491
09-12-24 조회 1,196
09-12-24 조회 1,726
09-12-24 조회 1,120
09-12-24 조회 879
09-12-24 조회 1,052
09-12-24 조회 1,663