WITH CitedPapers AS ( SELECT ROW_NUMBER() OVER (PARTITION BY AcademicianIdentityNumber ORDER BY CitationCount DESC) as RowNumber, * FROM ... WHE