0
이 쿼리가 작동하는 이유는 무엇입니까? 나는 그것을 어떻게 써야 하나?제한을 사용할 때 sql 쿼리에서 오류가 반환됩니다.
select * from tbl_content order by year desc where visible = '1' limit 0,30;
이 쿼리가 작동하는 이유는 무엇입니까? 나는 그것을 어떻게 써야 하나?제한을 사용할 때 sql 쿼리에서 오류가 반환됩니다.
select * from tbl_content order by year desc where visible = '1' limit 0,30;
WHERE 절이 ORDER BY 앞에옵니다.
재 작성 등 :
select * from tbl_content where visible = '1' order by year desc limit 0,30;