With this next query, you have the advantage of not only seeing if your columns are unique, but you can also see which combination is most unique. In addition, since you still see frequency 1, your key is unique, you know that your results are good, and not, for example, simply missing; something is less clear when using the HAVING clause.
SELECT Col1, Col2, COUNT(*) AS Freq FROM Table GROUP BY Col1, Col2 ORDER BY Freq DESC
Stijn
source share