> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Can someone explain why cname and date from table c gets printed in this
> > query?
>
> Say what?
>
> test=# CREATE TABLE a (id INTEGER, name TEXT, aname TEXT);
> CREATE
> test=# CREATE TABLE b (id INTEGER, name TEXT, bname TEXT);
> CREATE
> test=# CREATE TABLE c (id INTEGER, name TEXT, cname TEXT, date DATE DEFAULT
> test(# CURRENT_DATE);
> CREATE
> test=# SELECT * FROM a FULL OUTER JOIN b USING (id);
> id | name | aname | name | bname
> ----+------+-------+------+-------
> (0 rows)
The text of the email showed this query returning columns from table c.
Seems it was just a mistake in the email.
--
Bruce Momjian | http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026