The algorithm to index N number of columns, currently it is not possible in any RDBMS.