Select query order

Поиск
Список
Период
Сортировка
От Krithinarayanan Ganesh Kumar
Тема Select query order
Дата
Msg-id 61940faf1003240506n5154f4fr81f7e9d983f6761d@mail.gmail.com
обсуждение исходный текст
Ответы Re: Select query order  (Sean Davis <sdavis2@mail.nih.gov>)
Re: Select query order  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-novice
Hi All,

I am aware that Select query does not guarantee the order of the rows returned ( The rows are returned in whatever order the system finds fastest to produce).

Is there any way to SELECT the rows in the same order of insertion ? The problem is there is no Primary Key in the table, I am having only a composite key. So I cannot ORDER BY pk also.

I tried
row_number() over () Window function but not of use

Thanks & Regards
Krithi

В списке pgsql-novice по дате отправления:

Предыдущее
От: Ireneusz Pluta
Дата:
Сообщение: Re: Calculating database sizes using a script
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Select query order