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?.
6 rows affected
pers_cod | pers_name | attnd_dat | on_time |
---|---|---|---|
A001 | 王大明 | 2019-02-26 | 09:09:00 |
A001 | 王大明 | 2019-02-26 | 15:31:00 |
A001 | 王大明 | 2019-02-26 | 16:20:00 |
A001 | 王大明 | 2019-02-26 | 20:32:00 |
A001 | 張小馬 | 2019-02-26 | 09:02:00 |
A001 | 張小馬 | 2019-02-26 | 19:37:00 |
ithelp_20190312_fun1 |
---|
4 |
ithelp_20190312_fun2 |
---|
ithelp_20190312_fun3 |
---|
pers_cod | pers_name | attnd_dat | 時間1 | 時間2 | 時間3 | 時間4 |
---|---|---|---|---|---|---|
A001 | 張小馬 | 2019-02-26 | 09:02:00 | 19:37:00 | null | null |
A001 | 王大明 | 2019-02-26 | 09:09:00 | 15:31:00 | 16:20:00 | 20:32:00 |