---
title: "Comment by Aet on \"SQL Detective Mode: Using CTE + DENSE_RANK() to Find Top Earners by Department\" | Hashnode"
description: "great............"
url: "https://hashnode.com/posts/sql-detective-mode-using-cte-denserank-to-find-top-earners-by-department/68aea0e2b4549f0cf4ae8d4c/comment/68aed09121153156b062b05b"
---

[Discussion](https://hashnode.com/posts/sql-detective-mode-using-cte-denserank-to-find-top-earners-by-department/68aea0e2b4549f0cf4ae8d4c)

Comment [SQL Detective Mode: Using CTE + DENSE\_RANK() to Find Top Earners by Department](https://hashnode.com/posts/sql-detective-mode-using-cte-denserank-to-find-top-earners-by-department/68aea0e2b4549f0cf4ae8d4c)

[Aet](https://hashnode.com/@dfree)

[Aug 27, 2025](https://hashnode.com/posts/sql-detective-mode-using-cte-denserank-to-find-top-earners-by-department/68aea0e2b4549f0cf4ae8d4c/comment/68aed09121153156b062b05b)

great............
