How to Return Unique Elements From An Array?

Поиск
Список
Период
Сортировка
Искать

How to Return Unique Elements From An Array?

От:
Bhuvan A <bhuvansql@yahoo.com>
Дата:

hello all,

how can we get unique elements from an array(of any type)?

Regards,
Bhuvaneswar.


Re: How to Return Unique Elements From An Array?

От:
Haller Christoph <ch@rodos.fzk.de>
Дата:
Have you tried already 
SELECT DISTINCT  FROM  ; 
If you receive an error message like 
Unable to identify an ordering operator ... 
Refer to 'Server Programming' section Extending SQL: Operators 
to learn about creating your own operators for array comparison 
Or search the mailing-list for similar requests. 
Regards, Christoph 
> 
> hello all,
> 
> how can we get unique elements from an array(of any type)?
> 
> Regards,
> Bhuvaneswar.


FAQ