The table has many different indexes, and some indexes share one field. I want to know which index used in a select query.
+2
A:
No problem. Just issue your SELECT with EXPLAIN prepended. Like this:
explain select field1, field2 from table1
shylent
2009-10-22 11:47:15