Mysql刪除語句給表加別名報錯

加表名的時候提示說sql語法錯誤,把表別名tr去掉後問題解決sql

[SQL] delete from t_test_result tr where tr.scene_id = 1  and tr.result_type = 'RT'server

[Err] 1064 - 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 'tr where tr.scene_id = 1  and tr.result_type = 'RT'' at line 1io

相關文章
相關標籤/搜索