SELECT Question

Поиск
Список
Период
Сортировка
От Alex
Тема SELECT Question
Дата
Msg-id 3F522A78.903@meerkatsoft.com
обсуждение исходный текст
Ответы Re: SELECT Question  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: SELECT Question  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
Список 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 по дате отправления:

Предыдущее
От: Alex
Дата:
Сообщение: Quetions on Joins
Следующее
От: Sander Smeenk
Дата:
Сообщение: Re: PostgreSQL upgrade -> fails to start server