Window function for is_unique?
There's no built-in is_unique
function. Counting and comparing to one, as you did, is probably the best approach to achieve this functionality.
There's no built-in is_unique
function. Counting and comparing to one, as you did, is probably the best approach to achieve this functionality.