Using Distinct In Sql With Multiple Columns Pivot