Re: Problem with an Empty Column - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: Problem with an Empty Column
Date
Msg-id dcc563d10903102317h6d288490od9103a56dfa79f2@mail.gmail.com
Whole thread Raw
In response to Problem with an Empty Column  (hidura@gmail.com)
List pgsql-sql
On Tue, Mar 10, 2009 at 11:41 PM,  <hidura@gmail.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.


pgsql-sql by date:

Previous
From: hidura@gmail.com
Date:
Subject: Problem with an Empty Column
Next
From: "Paul Dam"
Date:
Subject: Convert text from UTF8 to ASCII