[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 ‘a where a.user_id = 951’ at line 1
delete语句加别名的话必须这样写
1.delete a from table1 a where id = 1;
2.delete table1 from table1 a where id = 1;
以上两种写法都可以.