Hey People...My first post here..
I am looking to concatenate column wise data to get all the combination.

A small example of what I am looking for..

Consider this table..

a p x
b q y
c q z

I want to concatenate as follows..
apx,apy,apz,aqx,aqy,aqz.arx.ary.arz
bpx,bpy,bpz,bqx,bqy,bqz,brx,bry,brz
cpx,cpy,cpz,cqz,cqy,cqz,crx,cry,crz.


I have data numbers in 100s to do the same.
Thanks in Advance....