(un)grouping question

Поиск
Список
Период
Сортировка
От Rhys Stewart
Тема (un)grouping question
Дата
Msg-id 189966030801210936r7a632af7lf85bfd4a1b74eb21@mail.gmail.com
обсуждение исходный текст
Ответы Re: (un)grouping question  (Reece Hart <reece@harts.net>)
Re: (un)grouping question  (Jeff Davis <pgsql@j-davis.com>)
Re: (un)grouping question  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
Hi list,

have the following table

uid|somevalue
--------------------
1|11
2|44
3|31
4|44
5|71
6|33
7|33
8|44
9|14

would like to remove the duplicate values in the column somevalue. doing this by just adding a random number  is perfectly fine, however i want to retain at least one of the original values of somevalue. Any ideas how to do this in in a query?


Rhys,

Peace & Love|Live Long & Prosper

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

Предыдущее
От: Christian Schröder
Дата:
Сообщение: Re: Views and permissions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Views and permissions