By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
9 rows affected
officename | MarketingExecutive | FinanceExecutive | ITExecutive |
---|---|---|---|
Office A | 2 | 0 | 0 |
Office B | 0 | 2 | 1 |
officename | MarketingExecutive | FinanceExecutive | ITExecutive |
---|---|---|---|
Office A | 2 | 0 | 0 |
Office B | 0 | 2 | 1 |
Warning: Null value is eliminated by an aggregate or other SET operation.