Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.
Date: 2016-02-09 06:43:03
Message-ID: n9c1p7$nd$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Venkatesan, Sekhar schrieb am 09.02.2016 um 06:21:
> So from what I understand, you say in postgres, if the sort order is not specified,
> postgres returns results in any order. Am I right?

This is nothing Postgres specific. This is true for *every* DBMS.

Without an order by, the DBMS is free to return the rows in any order it wants.

If you have seen a specific order in SQL Server that was pure coincidence and can *not* be relied upon.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mike Sofen 2016-02-09 12:41:16 Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.
Previous Message David G. Johnston 2016-02-09 06:21:12 Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.