By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
| DEPARTMENT | SALARY |
|---|---|
| Sales | 5000 |
| HR | 6000 |
| IT | 7500 |
| Marketing | null |
| Finance | 5500 |
| Sales | 8000 |
| DEPARTMENT | SALARY_SUM |
|---|---|
| Finance | 5500 |
| HR | 6000 |
| IT | 7500 |
| Marketing | null |
| Sales | 13000 |
| 總計 | 32000 |