select count(distinct col1) + count(distinct case when col1 is null then 1 end)from YourTable
上一篇 如何使用一个命令删除SQL数据库中的所有索引?
下一篇 计算SQL中每列中NULL值的数量
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号