mysql list indexes code example
Example 1: show indexes mysql
SHOW INDEX FROM yourtable;
Example 2: how to see which columns are indexxed mysql
SHOW INDEXES FROM table_name;
Example 3: check all indexes on table
SELECT
tablename,
indexname,
indexdef
FROM
pg_indexes
WHERE
schemaname = 'yourschema' and tablename='yourtable'
ORDER BY
tablename,
indexname;
(POSTRGRESQL)