add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
12 rows affected
p q r
1 A
2 A
3 D
4 C
5 X
6 A
7 D
8 C
9 X
10 D null
11 C
12 C
5 rows affected
s t
A
D
C
X
Y
部門 等級 數量 百分比
4  80%
0   0%
1  50%
0   0%
0   0%
3  75%
1  50%
0   0%
1  20%
1  25%
0   0%
0   0%