返回数说广场 #日有所学#
0
在Oracle数据库中,有如下内容的一张表TAB1,
SQL> select * from tab1;
ID COL1
---------- ----------
1 A
2 B
C
D
请问,当在该表上执行 select count(*) from tab1; 查询时,以下哪个索引“可能”被使用上。
A、create index ind_tab1_col1_nvl on tab1(nvl(col1,'0'));
B、 create index ind_tab1_id_nvl on tab1(nvl(id,0));
C、create index ind_tab1_id on tab1(id);
D、create index ind_tab1_col1 on tab1(col1);
AB
0
0 264
分享
评论
热门数说


