开发中常遇到的问题

问题:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

原因:数据库表字段含有标示符字段名称(database);

解决:修改字段别名;

猜你喜欢

转载自qihaha.iteye.com/blog/2068051