1.统计某个属性某个条件的总行数select count(*) from tablename where ‘条件’;2.删除某个属性某种条件的所有行delect from tablename where '条件';