pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Dario Bahena Tapia <dario.mx@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Parentheses in FROM clause and evaluation order.
Date: Mon, 15 Aug 2005 18:48:28 -0700 (PDT)
Message-ID: <20050815183859.U67925@megazone.bigpanda.com> (raw)
In-Reply-To: <3d104d6f05081509345067d83b@mail.gmail.com>
References: <200508110042.j7B0g1TZ015835@panselmo.fciencias.unam.mx>
	<20050815065906.K33261@megazone.bigpanda.com>
	<3d104d6f05081509345067d83b@mail.gmail.com>

On Mon, 15 Aug 2005, Dario Bahena Tapia wrote:

> The final result seems to be the same, I just was curious about the
> standard behavior. Does the SQl says something about this execution
> order?

I believe SQL defines the order to pay attention to parens, so A join (B
join C) style clauses result in a "table" being derived from B join C and
another from A joined with that table.



view thread (6+ messages)  latest in thread

Message-ID: <20050815183859.U67925@megazone.bigpanda.com>
Permalink:  ../20050815183859.U67925@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20050815183859.U67925@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, dario.mx@gmail.com
  Subject: Re: Parentheses in FROM clause and evaluation order.
  In-Reply-To: <20050815183859.U67925@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox