How would I check which one has the highest amount of indexes and be able to make the code act upon this information? I mean not just print #indexes of all tables and then see by myself which one has the highest amount of indexes, but make the code understand that by itself and already give me an answer.
This seems to work now, do you also know how would you get this table’s name? Right now we get only the amount of indexes. So for example if Table3 would have the most indexes how would we also retireve its name besides the amount of indexes?