Search Postgresql Archives

Re: SELF LEFT OUTER JOIN = SELF JOIN including NULL values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/09/2010 17:16, julia.jacobson@xxxxxxxx wrote:
Hello everybody out there using PostgreSQL,

After having read the official documentation and having done
extensive web search, I'm wondering how to perform something like a
SELF LEFT OUTER JOIN in PostgreSQL, i.e. a SELF JOIN on a table
containing NULL values in one of the columns to join.

Something like this? -

select....
from my_table a
left join my_table b on (a.my_column = b.my_column)
...

Would this do it?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux