agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: lynch@lscorp.com
To: pgsql-sql@postgresql.org
Subject: SQL Bug?
Date: Thu, 25 Jun 1998 20:54:31 -0500
Message-ID: <v02140b6fb1b868483098@[207.152.64.133]> (raw)

I'm far from an SQL expert, but...

select field1 from table1 where table2.field2 = table1.field3;

This query, which uses tables in the where clause that aren't in the list
of tables, actually does what one would sorta expect in PostgreSQL, but
isn't it a bug for it to do that?...

Not that I mind, since it's what I accidentally coded anyways.

--
--
-- "TANSTAAFL" Rich lynch@lscorp.com





view thread (9+ messages)  latest in thread

Message-ID: <v02140b6fb1b868483098@[207.152.64.133]>
Permalink:  ../v02140b6fb1b868483098@%5B207.152.64.133%5D/
Also on:    postgresql.org/message-id/v02140b6fb1b868483098@[207.152.64.133]

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: lynch@lscorp.com
  Subject: Re: SQL Bug?
  In-Reply-To: <v02140b6fb1b868483098@[207.152.64.133]>

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

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