select count(1)、 count(字段名) 、count(*)  的区别 

 

如果一张表tmp 有10个字段

select * from tmp;

select 字段1,字段2,字段3.......字段10 from tmp;

 

相关文章: