Using DISTINCT in SQL
Database by Doug Database by Doug
7.85K subscribers
39,065 views
312

 Published On Oct 10, 2018

A brief beginner's introduction to the DISTINCT operator in SQL. DISTINCT creates a set of unique records, based on field values. In other words, duplicates records, based on field values, are removed. DISTINCT is often used with COUNT, to achieve a count of distinct values. Be aware that NULL is treated as a distinct value in terms of records, but COUNT ignores NULLs.
See the full code here: https://douglaskline.blogspot.com/201...

show more

Share/Embed