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

相关文章
相关标签/搜索