删除数据 – 删除除xx外的所有行数据: delete from 表名 where 字段名 <>‘xx’; – 删除除xx、oo外的数据: delete from 表名 where 字段名 not in(‘xx’,‘oo’); – 或者 delete from 表名 where 字段名 <>‘xx’ and 字段名<>‘oo’;