(un)grouping question

Поиск
Список
Период
Сортировка
От Rhys Stewart
Тема (un)grouping question
Дата
Msg-id 189966030801210936r7a632af7lf85bfd4a1b74eb21@mail.gmail.com
обсуждение исходный текст
Ответы Re: (un)grouping question
Re: (un)grouping question
Re: (un)grouping question
Список 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 по дате отправления: