Re: Number the lines
От
Jeff Eckermann
Тема
Re: Number the lines
Дата
Msg-id
020301c13d4e$1d1d7de0$279c10ac@INTERNAL
Список
Дерево обсуждения
Re: Number the lines missive@frontiernet.net (Lee Harr)
If you want "the third maximum value", easist to do: SELECT * FROM table ORDER BY whatever DESC OFFSET 2 LIMIT 1; ----- Original Message ----- From: "Yoann" To: Sent: Friday, September 14, 2001 7:05 AM Subject: Number the lines > how can I number the result's lines of a sql query ? > > explaination : I have a query which return me a list of values. I need > to order them (it's ok, easy ;) and then number the lines. The goal is > then to extract, for example, "the third maximum value". > > Tx in advance ! > Yoann > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >
В списке pgsql-sql по дате отправления
От: Patrik Kudo
Дата: