ORDER BY and NULLs

Поиск
Список
Период
Сортировка
От T E Schmitz
Тема ORDER BY and NULLs
Дата
Msg-id 414D9E5D.8070708@numerixtechnology.de
обсуждение исходный текст
Ответы Re: ORDER BY and NULLs
Список pgsql-sql
Hello,

I am using PostgreSQL 7.4.2 and as I understand NULL values always sort 
last.

However, I have a table from which select using two numerical sort keys 
"FROM" and "TO". "TO" might be NULL and I would like to display those 
rows first (without sorting the column in descending order).

Is there any way this can be achieved without inserting bogus values 
into that column?

-- 


Regards/Gruß,

Tarlika Elisabeth Schmitz


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

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: How to check postgres running or not ?
Следующее
От:
Дата:
Сообщение: Re: ORDER BY and NULLs