"Bob Pawley" <rjpawley(at)shaw(dot)ca> writes:> Qualifying the column was the solution.
Huh. What was the error message you got, exactly? Because it doesn'tseem like that should have led to a syntax error.
regards, tom lane