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

TOP and Order by - topic by vpyoa

$
0
0
Hi all I'm new to teradata I want to confirm about the order priority of the execution of the query. Sample query   Select top n x_column, y_column, z_column from table_abc order by x_column desc;   for the above mentioned query what is the order priority of the execution. Whether the query fetch top n records at  first and then execute order by or else order by execut first and then if fetches top n records..   Thanks in advance..    

Viewing all articles
Browse latest Browse all 27759

Trending Articles