Postgresql Select Distinct Multiple Columns Sql Interview Prep