delete from tablename where id>=1 and id<=500或者DELETE FROM `數據庫名稱`.`數據表名稱` WHERE `house_cs`.`id` <= 1 and `house_cs`.`id` >= 500