Mysql 语句 积累

select  count(1) from t_zhsq_zqsj_log  where xxx= xxx 可以查询出来有多少条件符合的数目 

count(*)   与 count(1)  效果一致 ,推荐count(1)  效率好 

猜你喜欢

转载自blog.csdn.net/Demo1109/article/details/88898456