Please conver this query to sybase format ..s ot aht i can run it on syabase database.




SELECT Node,[time],Maximum
FROM
(
SELECT *,DENSE_RANK() OVER (PARTITION BY DATEADD(mm,DATEDIFF(mm,0,[time]),0) ORDER BY Maximum DESC) AS Seq
FROM Table
)t
WHERE Seq <=5