cover-img

Windows function in SQL-Dense_rank vs Rank

8 September, 2020

1

1

0

Contributors

A windows function performs a calculation across a set of table rows that are somehow related to the current row.
The example of Dense_rank vs Rank:
Syntax of Dense_rank:
The following is the output of the syntax of Dense_rank:
img

Output of dense_rank

Syntax of rank:
The following is the output of the syntax of rank:
img

1

1

0

Sipu Hou

San Francisco, CA, USA

Data Analyst

More Articles

Showwcase is a professional tech network with over 0 users from over 150 countries. We assist tech professionals in showcasing their unique skills through dedicated profiles and connect them with top global companies for career opportunities.

© Copyright 2025. Showcase Creators Inc. All rights reserved.