SQL語(yǔ)句出錯(cuò):select * from info as a left join info_contents as b on a.InfoId=b.InfoId left join info_category as c on a.CateId=c.CateId where Language=0 and a.CateId="$type" and a.InfoId < order by a.InfoId desc limit 1
錯(cuò)誤代碼:#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 a.InfoId desc limit 1' at line 1SQL語(yǔ)句出錯(cuò):select * from info as a left join info_contents as b on a.InfoId=b.InfoId left join info_category as c on a.CateId=c.CateId where Language=0 and a.CateId="$type" and a.InfoId < order by a.InfoId asc limit 1
錯(cuò)誤代碼:#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 a.InfoId asc limit 1' at line 1