SELECT Question - Mailing list pgsql-general

From Alex
Subject SELECT Question
Date
Msg-id 3F522A78.903@meerkatsoft.com
Whole thread Raw
Responses Re: SELECT Question  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: SELECT Question  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
List pgsql-general
Hi,

I need to form a query where i can add some columns based on the result.


Table A
ColA, ColB
----------
1      A
2      B
3      A

Table B
ColC
----
A

If A exists if would like the result back as
1  A   OK
2  B   NG
3  A   OK

Is it possible to replace the value in the query ?

Thanks
Alex







pgsql-general by date:

Previous
From: Alex
Date:
Subject: Quetions on Joins
Next
From: Sander Smeenk
Date:
Subject: Re: PostgreSQL upgrade -> fails to start server