Index names refer to each table. You cannot have two indexes with the same name in the same table, but you can have many indexes with the same name, one for each table. Index names do not matter for everyday work. They are just there to provide a convenient and convenient way to reference an index without having to list all the fields in the index. For example, it’s easier to say alter table XXX drop key friendlynamethanalter table XXX drop key (field1, field2, field3, field4, field5, etc...)
source
share