SQL查询为什么不推荐使用select count(*)

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

 

如果一张表tmp 有10个字段

select * from tmp;

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

 

posted @ 2016-10-26 20:05  hello-Jesson  阅读(1394)  评论(0编辑  收藏  举报