Check out example codes for "mysql show indexes on table". It will help you in understanding the concepts better.

Code Example 1

SHOW INDEX FROM yourtable;

Code Example 2

SHOW INDEXES FROM table_name;

Learn ReactJs, React Native from akashmittal.com