Create index for the columns