How do I check if an index exists on a table field in MySQL?

前端 未结 10 1269
孤独总比滥情好
孤独总比滥情好 2020-12-12 16:55

I\'ve needed to Google this a couple times, so I\'m sharing my Q/A.

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 17:18

    show index from table_name where Column_name='column_name';
    

提交回复
热议问题