MySQL
JGFI
这个作者很懒,什么都没留下…
展开
-
You can‘t specify target table ‘exam‘ for update in FROM clause
MySQL数据库中删除 除id以外其他都相同的行,语句如下: DELETE FROM exam WHERE id NOT IN (SELECT id FROM exam GROUP BY name,kecheng,fenshu); 报错: You can’t specify target table ‘exam’ for update in FROM clause(不能先select出同一表中的某些值,再update这个表(在同一语句中)) 解决办法: DELETE FROM exam WHERE id N原创 2020-07-31 18:20:37 · 137 阅读 · 0 评论 -
mysql 模糊查询时:org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
错误如下: 解决办法: MySQL语句的if标签中如果是单参数的话需要用 value !原创 2020-07-14 19:55:14 · 156 阅读 · 0 评论