이게 무슨 말이죠?

이게 무슨 말이죠?

QA

이게 무슨 말이죠?

답변 3

본문

select * from where po_start_date < '2015-05-07 15:46:55' and po_end_date > '2015-05-07 15:46:55' and po_openchk = '1'

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 'where po_start_date < '2015-05-07 15:46:55' and po_end_date > '2015-05-07 15:46:' at line 1

error file : /bbs/board.php

 

이 질문에 댓글 쓰기 :

답변 3

select * from where po_start_date < '2015-05-07 15:46:55' and po_end_date > '2015-05-07 15:46:55' and po_openchk = '1'

 

해당 쿼리를 보시면 from 절에 테이블명이 없습니다.

 

select * from tablename where ..

이렇게 테이블을 지정하셔야 합니다.

error file : /bbs/board.php

라고 오류파일정보가 나타나는데..

별도로 작업한게 아니시라면 왜 쿼리가 정상적으로 만들어지지 않았는지

원인을 먼저 찾으셔야합니다.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 52
© SIRSOFT
현재 페이지 제일 처음으로