Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Help with SQL - response (4) by td_admirer

$
0
0
Hi Ulrich, For a combination of col1,dt,col4 the record with col3 value "2" is the first (which is record# 1) for dt 9/27. For dt 10/13, record # 5 is the first. In other words, these are the records that should be updated. sel * from test qualify row_number() over (partition by col1,dt,col4 order by col3)=1; Please help.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>