count(1)、count(*)、count(列)

count(列):会计数所有除了NULL的总数

count(1)、count(*)(会自动优化到查询某一列):差别不大

猜你喜欢

转载自blog.csdn.net/qq_27378875/article/details/81358865