distinct 会将所有NULL合并为一项
count(distinct)会将NULL除去。
mysql count 与 distinct 混合使用结果不同
最新推荐文章于 2024-04-18 11:03:06 发布
distinct 会将所有NULL合并为一项
count(distinct)会将NULL除去。