sort by on two columns

Поиск
Список
Период
Сортировка
От Andy Lewis
Тема sort by on two columns
Дата
Msg-id 002101c3d197$20082f20$0201a8c0@andy2
обсуждение исходный текст
Ответы Re: sort by on two columns
Список pgsql-sql
Hi All,
Is it possible to sort by two columns? Using the query below?
 
SELECT table1.name, table2.name, <other selected columns> FROM table1, table2 WHERE table1.id = table2.id ORDER BY <what?>
 
I want to be able to sort the names select from two different tables and two different colums(same data type).
 
Is this possible?
 
Thanks,
 
Andy

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Ambiguous error message
Следующее
От: Bertrand Petit
Дата:
Сообщение: Re: Ambiguous error message