Window Function in SQL | Write SQL Query Using Rank, Dense Rank With Examples | Simplilearn