In MySQL we can use the SHOW INDEX
statement to return information about the indexes on a table.
We specify which table to show indexes from, and we can optionally specify which database. We can also use a WHERE
clause to filter by various criteria.
We can run it against any table where we have some privilege for any column in the table.
Continue reading