SQL Bug?

From: lynch(at)lscorp(dot)com (Richard Lynch)
To: pgsql-sql(at)postgresql(dot)org
Subject: SQL Bug?
Date: 1998-06-26 01:54:31
Message-ID: v02140b6fb1b868483098@[207.152.64.133]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)lscorp(dot)com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 1998-06-26 02:13:47 Re: [SQL] SQL Bug?
Previous Message GABRIEL MORALES CRIBILLERO 1998-06-25 21:03:45 otra vez yo!!