By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Department | Employee | Salary | rank |
---|---|---|---|
IT | Max | 90000 | 1 |
IT | Joe | 70000 | 2 |
Sales | Henry | 80000 | 1 |
Sales | Sam | 60000 | 2 |
Department | Employee | Salary | rank |
---|---|---|---|
IT | Max | 90000 | 1 |
IT | Joe | 70000 | 2 |
Sales | Henry | 80000 | 1 |
Sales | Sam | 60000 | 2 |