select where in and order
| От | Tony Smith |
|---|---|
| Тема | select where in and order |
| Дата | |
| Msg-id | 20060310023231.84845.qmail@web52702.mail.yahoo.com обсуждение |
| Ответ на | Re: Suse Linux 10.0 (Jerome Lyles <lylesj002@hawaii.rr.com>) |
| Ответы |
Re: select where in and order
Re: select where in and order |
| Список | pgsql-general |
I have two tables action and group: action ------------------------ id, name group: ------------------------ action_id rank I what to select from action table by order by the rank in the group table. If I use select * from action where id in (select action_id from group order by rank) The action may not be ordered by rank. How can I do it? Thanks, qq __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
В списке pgsql-general по дате отправления: