Hi,
I have a table with columns that stores some strings:
ID col1 col2
1 aa bb
2 cd nn
3 tt hh
4 uu yy
I need a SINGLE query(without temp tables or loops) that returns each row from the table followed by a row (Xn, Yn) where n is the row id:
col1 col2
aa bb
X1 Y1
cd nn
X2 Y2
tt hh
X3 Y3
uu yy
X4 Y4
Thanks,