I need to "transpose" data that looks like this:
id City
111 Chicago
111 New York
111 LA
222 Paris
222 London
222 Tokyo
to:
111 Chicago New York LA
222 Paris London Tokyo
Every id would have three entries each, so the resulting relation would have 4 fields. I'm trying to avoid using a UDF. Any ideas?