SyntaxFix
Write A Post
Hire A Developer
Questions
If this is a SQL question, and I understand what you are asking, (it's not entirely clear), just add distinct to the query
Select Distinct * From TempTable