码迷,mamicode.com
首页 > 数据库 > 详细

mysql delete操作

时间:2015-05-15 15:33:16      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:mysql

delete from account.comp_account_action caa where caa.account_action_code in (10950112,10950113,10950114,10950115);

sql中使用别名删除直接报错,改为下面格式即可

delete from account.comp_account_action where account_action_code in (10950112,10950113,10950114,10950115);



mysql delete操作

标签:mysql

原文地址:http://blog.csdn.net/milife2013/article/details/45744697

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!