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

Top Function - response (7) by M.Saeed Khurram

$
0
0

Hi Ratnam,
In a Sample n function, the amps will choose rows in some random fashion. So there is no need to sort the rows.
In TOP n function the rows are sorted first and then the top n rows specified are returnd. 
You can use random if you want to get a truely random result.
 
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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