发明授权
- 专利标题: Finding the TOP N values through the execution of a query
- 专利标题(中): 通过执行查询查找TOP N值
-
申请号: US09433827申请日: 1999-11-03
-
公开(公告)号: US06546382B1公开(公告)日: 2003-04-08
- 发明人: Angela Amor , Cetin Ozbutun
- 申请人: Angela Amor , Cetin Ozbutun
- 主分类号: G06F1730
- IPC分类号: G06F1730
摘要:
A method and mechanism is provided for executing a query that includes a subquery, where the subquery includes an ORDER BY clause. The results generated by executing the subquery are ordered as specified by the ORDER BY clause. When the results of the subquery are referenced by the outer query, the results generated for the subquery satisfy the restriction. For example, the restriction may specify that the row number pseudo-column be less than a threshold. In response, a TOP N operation is performed to return the rows that are TOP N in order. The order is based on the ORDER BY clause.
信息查询