select top x * from( select ROW_NUMBER() OVER (ORDER BY b.P) AS RowNumber ) where RowNumber>y 查询从X-y条数据 按类别选择后选取某项最大值