Re: order by
От | Marin Dimitrov |
---|---|
Тема | Re: order by |
Дата | |
Msg-id | 006301c1fb3f$249aa2f0$9ba1d53e@sirma.bg обсуждение исходный текст |
Ответ на |
order by |
Ответы |
Re: order by |
Список | pgsql-sql |
----- Original Message ----- From: "Mathieu Arnold" > then 1 and then 3. so that the result should be : > > 1 | one | 1 > 3 | three | 2 > 5 | five | 2 > 2 | two | 3 > 4 | four | 3 > > How could I do that ? > gate09=# select * from a order by 3,1,2; c1 | c2 | c3 ----+-------+---- 1 | one | 1 3 | three | 2 5 | five | 2 2 | two | 3 4 | four | 3 hth, Marin ---- "...what you brought from your past, is of no use in your present. When you must choose a new path, do not bring old experiences with you. Those who strike out afresh, but who attempt to retain a little of the old life, end up torn apart by their own memories. "
В списке pgsql-sql по дате отправления: