11智能在线
新记
sql能否批量删除多个行
比如Id是主键,我想一次删除id=1,id=2,id=3,id=4,id=5的行,有没有什么简单的方法?
举报该文章
其他看法
第1个回答 2011-08-12
delete from tablename where id in (1,2,3,4,5)
<上一页
1
2
相似回答
大家正在搜
相关问题
sql怎么批量删除行?
怎么使用SQL语句批量删除多个表的相同字段
一个SQL的Delete语句问题,批量删除带有“AAA”的行...
SQL的批量删除,DELETE语句
sql删除多表多条件
mysql中如何用一条sql语句删除多条记录?急!!!!
sql 怎么同时删除多个表中的全部数据,而不删除表结构,不要...
SQL批量删除问题