You have an error in your SQL syntax near' '有一个错误

Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '.user_id
			from t_user,t_article

解决:

这种错误是sql写错了,一般在near中所示例的sql语句之前有错误,而不是在near提示的sql中有错误

猜你喜欢

转载自blog.csdn.net/cleanblood/article/details/84890028