![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 15 Aug 2006 @ 23:13:12 GMT
I choose this option:
select
cd_producto,
cd_equipo_adsl,
count(cd_producto) over(partition by cd_producto)
from
productos
qualify row_number() over(partition by cd_producto order by
cd_equipo_adsl desc) = 1;
Thanks anyway. Castelli, Emanuel Alejandro
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||