이 에러 구문에서 핑크색은 뭘 의미하나요?
본문
select * from g4_write_B01 where wr_is_comment = 0 and wr_id not in ('') order by wr_num limit 0, 10
1146 : Table 'homzzang.g4_write_B01' doesn't exist
error file : /index.php
답변 1
wr_is_comment = 0 <<== 댓글이 아닌것
wr_id not in ('') <<== wr_id 에 값이 있는것
order by wr_num <<== wr_num 을 기준으로 정렬하라
limit 0, 10 <<== 결과 목록중에 앞에 10개만 불러와라
즉, 게시글을 wr_num 으로 정렬해서 앞에 10개만 불러와라~~
이런 의미입니다.
답변을 작성하시기 전에 로그인 해주세요.