Q: select query

Поиск
Список
Период
Сортировка
От grk@usa.net (G. Ralph Kuntz, MD)
Тема Q: select query
Дата
Msg-id 9881c752.0309120958.454c659c@posting.google.com
обсуждение исходный текст
Ответы Re: Q: select query
Re: Q: select query
Список pgsql-sql
I am trying to write a query to select some rows.

My data consists of rows like this
  1       a  1       b  1       c  2       d  3       e  3       f  ...

I would like to select the second and subsequent rows where the first
column is the same:
  1       b  1       c  3       f

in other words, all but the first row of a group.

Any ideas?

Thanks, Ralph


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

Предыдущее
От: grk@usa.net (G. Ralph Kuntz, MD)
Дата:
Сообщение: Q: insert/update in same statement
Следующее
От: chester c young
Дата:
Сообщение: production parameters