I have a table team (name,id,points).
i want to find the rank of team based on points.
SELECT *FROM team ORDER BY points DESC
above query sorts result in descending order of points of team. now i want to find the rank of particular team. means the row number of this result set.