Assume that I have a table with N columns. And I need a subset for all combinations of columns. For example, If there are C1,C2,.....,Cn columns, I need
1D = {C1,C2,C3,C4,.....,Cn}
2D = {C1C2,C2C3,C1C3,.....,Cn-1Cn} // 2D is all combination set for 2 columns.
3D = {C1C2C3,C1C2C4,C1C2C5,......}
...
I will use Vector<Vector<String>>
setofNDSubset. (java)
I think it will be Vector(1D,2D,3D,......,ND).
And I use jdbc.
Column number should be less than 10.
I need some advices for you. Thanks.