解析在一个SQL语句中同时出现count()、where、group by 的前后执行顺序

如:select count(*) from tab1 where publi_id='1000000141' and cent_id='3702000001'blog 它是先根据条件利用where查询出全部数据,而后利用count将每条数据汇总,就是算一下有多少条数据class 如:select count(*) from tab1 where publi_id='1000000141' and
相关文章
相关标签/搜索