Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Generating Sequence Number when GROUP BY in the Query - response (1) by Raja_KT

$
0
0

Hi Pavan,
You can't use OLAP and aggregates together. The workaround is to use derived table or temporary table. Try this:take your group by query  inside. Rank the result from obtained from derived. 
I can't try now for you, since my TD is down. I have to download again.
Cheers,
Raja


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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