replace NULL

Поиск
Список
Период
Сортировка
От Kancha .
Тема replace NULL
Дата
Msg-id 20020409120003.46895.qmail@web14910.mail.yahoo.com
обсуждение исходный текст
Ответы Re: replace NULL  (Andreas Joseph Krogh <andreak@officenet.no>)
Список pgsql-sql
Hello

i want to run a select query on a table. eg:

select age from people;

if age is NULL then I want to replace it by some text,
say "SHY" so the output is like

name age
me   10
jane SHY
jack 32

how do i make this replacement of null value to some text

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


В списке pgsql-sql по дате отправления:

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: Scadinavian characters in regular expressions
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: replace NULL