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

How do I get Dense Ranking instead of Modified competition ranking? - response (4) by mohan.mscss

$
0
0
i think we can go with DISTINCT, Dervied table and Join concept..   Sel t1.col1, t1.col2, t1.R1 as sales Rank from table as t1 inner join (Sel sales, Rank(sales) as R1 from (sel distinct sales from table)dt) as t2 on t1.sales = t2.sales      

Viewing all articles
Browse latest Browse all 27759

Trending Articles