mysql query 질문입니다.
글쓴이: lovethecorners / 작성시간: 수, 2006/05/31 - 5:16오전
phpmyadmin 에서 다음과 같은 에라 메세지가 납니다.
Error SQL query: Documentation select a.clinic, a.rep, b.accountexec, b.priority, c.name from mailing a, users b, accountexec c where a.clinic=b.clinic and b.accountexec=c.user and ((a.mailing >= 136) and (a.mailing <= 138)) order by substring_index(c.name, ' ', -1) asc limit 0 , 30 MySQL said: Documentation #1030 - Got error 134 from storage engine
여기서 order by substring_index(c.name, ' ', -1) asc
이부분을 빼고 실행하면 문제 없습니다. 또한 ((a.mailing >= 136) and (a.mailing <= 138))
이부분을 a.mailing = 138 이런식으로 해도 문제는 없습니다. query를 어떤식으로 수정해야 하는지 조언주시면 감사하겠습니다.
Forums:
음, accountexec table 에
음, accountexec table 에 문제가 있었습니다....그것도 모르고 뻘짓하고 있었네요. 어쩐지 이상한 메세지였는데, table먼저 확인 안한것이 문제였습니다...
이걸루 해결했습니다....
==
more than one way to do it
말로만 블로거: http://gojdweb.egloos.com
댓글 달기