Error: identifier appears twice in Select subclause. What to do: remove duplicate occurrences.