Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
SortTopN 用于包含 TOP N 子句和 ORDER BY 子句的查询。对于只为结果集中需要的那些行进行排序,这是一种有效的算法。