我现在有一个表 table(id,tj)
table表中的行是不固定的,随时增或者减
1  aa
2  bb
...
n  ss(其中n是不固定的)
我想把行列互换
1  2  ... n
aa bb ... ss
我用sql语句该怎么实现?