Execution of a query to the database failed - 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 'group by LibID) as cc' at line 1SELECT count(*) FROM (select count(*) from news where group by LibID) as cc ;Execution of a query to the database failed - 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 'group by LibID ORDER BY IsTop desc,PublishDay desc LIMIT 0, 10' at line 1SELECT ID,LibID,froml,Title,PublishDay,Summary,Url,IsRed,NewsImage FROM news WHERE group by LibID ORDER BY IsTop desc,PublishDay desc LIMIT 0, 10;
扫一扫关注微官网