mysql如何删除数据库指定ID段的数据库。比如删除id 1-500的数据。

delete from tablename where id>=1 and id<=500
或者
DELETE FROM `数据库名称`.`数据表名称` WHERE `house_cs`.`id` <= 1 and `house_cs`.`id` >= 500

posted on 2017-09-21 19:24  Archmagel  阅读(4835)  评论(0编辑  收藏  举报

导航