I am trying to classify certain patterns of tables in individual groups and display the results this is fine i included a case statements and classified it but how to group the