Skip to content

Conversation

AbualiYousef
Copy link
Owner

No description provided.

@AbualiYousef AbualiYousef requested a review from R-abodyak April 21, 2024 22:44
SELECT
b.author,
COUNT(l.loanId) AS BorrowingCount,
RANK() OVER (ORDER BY COUNT(l.loanId) DESC) AS AuthorRank
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just care that you are aware RANK() OVER is not aggregation its window func

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants