Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
It's easy to create a query from a DB as below.
select 1
union
select 2
union
select NULL
Let's say the above column name is ID, then you do count and count(distinct) for ID. It will show as this one.
| COUNT(DISTINCT) | Count |
| 3 | 2 |
It's wrong as NULL should not be counted in results. So could you please check and fix this issue? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.