• I have data in a column.

    Want to make all the possible combinations.

    You have given the idea that group by cube will do that,

    And have i have to pass arguments which are column names into the cube() function.

    But i have data in the column,

    So pivoting the table, so the columns are dynamic now..

    Im stucking here now :p