The SQL DISTINCT
clause allows us to remove redundant duplicate rows from our query results. For example if two rows contain the same values, then only one of them is returned.
But how does DISTINCT
handle NULL values?
Let’s find out.
Continue reading