数据库行数统计和删除
2018-05-07 本文已影响0人
Susy_ca6f
1.统计某个属性某个条件的总行数
select count(*) from tablename where ‘条件’;
2.删除某个属性某种条件的所有行
delect from tablename where '条件';
1.统计某个属性某个条件的总行数
select count(*) from tablename where ‘条件’;
2.删除某个属性某种条件的所有行
delect from tablename where '条件';