Skip to content
RED SAGSkills
hard20 pts · first answer countswindow-functionssqlranking

NULL score ranked first

In PostgreSQL, some players have a NULL score. Who gets rank 1 here?

SELECT player, RANK() OVER (ORDER BY score DESC) AS rnk
FROM results;
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions