A select statement with a count distinct on each column, except the columns of the primary key that is a COUNT(*), can perform this step. [0141] Step 2: The columns that have a very similar number of distinct values as the number of rows defines the column associated to this table and become level or attribute.