Postgresql Count Distinct Sql Syntax W3schools