SQL question..

Поиск
Список
Период
Сортировка
От Alexis Maldonado
Тема SQL question..
Дата
Msg-id 006d01c1e630$0b8356a0$14818b0a@ctcd.cc.tx.us
обсуждение исходный текст
Список pgsql-general
I know this might be a dumb basic sql question but..
 
I have a query list of IDs ( 4,3,1,2,12,5,6,8,7,9,11)
 
I want to build a query that gets those IDs in the exact same order but when i do
 
Select * From Table
Where ID IN ( 4,3,1,2,12,5,6,8,7,9,11)
 
It gets all the IDs in random order..
 
how can i get them in the order listed?
 
Thanks,
Alex

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

Предыдущее
От: Matthew Stanfield
Дата:
Сообщение: Re: Incorrect password using pg_ctl
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Large table update/vacuum PLEASE HELP!