Re: how to deteck empty tables in outer joins

From: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
To: Einar Karttunen <ekarttun(at)cs(dot)Helsinki(dot)FI>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: how to deteck empty tables in outer joins
Date: 2001-02-01 18:49:48
Message-ID: 01020113494801.21994@comptechnews
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> SELECT *,NULL FROM a; How can I implement this?

Try 7.1beta. It supports all the joins. You'd be able to just do:

select * from a left join b using (id);

--
------------------------------------------------
-- Robert B. Easter
-- reaster(at)comptechnews(dot)com
-- http://www.comptechnews.com/~reaster/
-- Linux Support: http://www.comptechserv.com/
------------------------------------------------

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Kwan Lai Sum 2001-02-02 03:24:13 syslog.conf
Previous Message Ben Hooper 2001-02-01 13:49:04 RE: Importing Excel Spreadsheets into PostgreSQL