重复索引
Gomes 2014-10-23 10:43:07 我的table表下有 pk_table_1(主键 Unique) key cid,datetime
idx_table_1(索引 Unique) key cid,datetime
idx_table_2(索引 Normal) key cid
现在 索引1和主键是重复的。
我查询
slect * from table datetime = to_date('22-10-2014 21:55:00', 'dd-mm-yyyy hh24:mi:ss') and cid in (1,2,3)
时为什么是使用 idx_table_2 索引?