Order by and words beginning with capitals

Поиск
Список
Период
Сортировка
От Tjibbe Rijpma
Тема Order by and words beginning with capitals
Дата
Msg-id 001701c50591$35932640$0100a8c0@TJIBBE
обсуждение исходный текст
Ответы Re: Order by and words beginning with capitals  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
How can I make a query like this:
 
SELECT id, words FROM words ORDER BY upper(words)
 
That I get a result like this (with the capitals intact but ordered correctly):
 
1. bear
2. cat
3. Dog
4. fish
5. Giraffe
 
Tjibbe
 
 
ps
 
SELECT id, words, upper(words) FROM words ORDER BY upper(words)
 
Works, but that's not what I'm looking for.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: How To Create DATETIME Data Types in A Table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Order by and words beginning with capitals