From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | hidura(at)gmail(dot)com |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problem with an Empty Column |
Date: | 2009-03-11 06:17:03 |
Message-ID: | dcc563d10903102317h6d288490od9103a56dfa79f2@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tue, Mar 10, 2009 at 11:41 PM, <hidura(at)gmail(dot)com> wrote:
> Good Morning list, I am new in the PostgreSQL list, and i have a problem
> with a query because i have an empty column in a empty table and i compare
> this empty column with a column what have values in other table i use an
> LEFT OUTER JOIN and works well, but when i filled the empty table with data
> and compare again the query give me the same result than if the table was
> empty, here is the code of my query:
> SELECT supplierbill_tbl.id
> FROM supplierbill_tbl
> LEFT OUTER JOIN agrouptransacc_tbl
> ON supplierbill_tbl.id > agrouptransacc_tbl.splbillid
I think we need a more complete example. Note you can generate rows
in a table with generate_series() pretty easily for testing.
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Dam | 2009-03-11 15:04:42 | Convert text from UTF8 to ASCII |
Previous Message | hidura | 2009-03-11 05:41:41 | Problem with an Empty Column |