My Oracle Support Banner

The Order Of The Query Result May Not Follow The Order In The Index From 12c (Doc ID 2542364.1)

Last updated on JUNE 02, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

A select is querying some columns which are indexed columns. The result should by sorted as they are indexed columns and follow the order in the index.

But the result shows a different order.

For example the query is as follow:





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.