SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT full_name, salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rank FROM employee ORDER BY rank DESC, full_name ASC;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear