Avoid Using Distinct In Sql Select Statements