SELECT Question

From: Alex <alex(at)meerkatsoft(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: SELECT Question
Date: 2003-08-31 17:03:52
Message-ID: 3F522A78.903@meerkatsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-08-31 18:15:19 Re: Quetions on Joins
Previous Message Alex 2003-08-31 16:56:54 Quetions on Joins