刪除女神出現錯誤
在測試刪除出現的問題 不知知道是什么情況 ?其他測試都沒有問題
Exception in thread "main" 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 'where id=8' at line 1
2017-03-18
檢查你的數據庫中的數據,ID=8是否存在
2017-01-03
去檢查有沒有id=8的這條記錄,可能是沒有!
2017-01-03
報的是SQL語句格式錯誤,你可以查一查你的刪除語句看看哪里出問題了