I have two queries. Top one returns results contain duplicates; Do not want the duplicate values. The second query is correct but is not aggregated.
/******************