oracle order by 索引是否使用的状况

刚开始在网上看了不少说order by 走索引有两个前提条件sql 1,ORDER BY中全部的列必须包含在相同的索引中并保持在索引中的排列顺序.函数  2,ORDER BY中全部的列必须定义为非空. 测试 下面是测试:code 建表:索引 create table person ( id VARCHAR2(50) not null, name VARCHAR2(20
相关文章
相关标签/搜索