select /*+ index(b PK_TABLEB)*/ 1 from table_a a, table_b b where a.numid = b.numid;
其中index爲關鍵字, b爲索引所在的表名, PK_TABLEB爲所要強制使用的索引名。
select /*+ index(b PK_TABLEB)*/ 1 from table_a a, table_b b where a.numid = b.numid;
其中index爲關鍵字, b爲索引所在的表名, PK_TABLEB爲所要強制使用的索引名。