SQL语句出错: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
错误代码:#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语句出错: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
错误代码:#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