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)
相似回答