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?.
5 rows affected
id | orderid | tel |
---|---|---|
1 | 20211130000001 | 0987000111 |
2 | 20211130000002 | 0987000111 |
3 | 20211130000003 | 0987000222 |
4 | 20211130000004 | 0987000111 |
5 | 20211130000005 | 0987000222 |
9 rows affected
id | orderid | memo | xdate |
---|---|---|---|
1 | 20211130000001 | 資料1 | 2021-11-03 |
2 | 20211130000001 | 資料2 | 2021-11-08 |
3 | 20211130000003 | 資料3 | 2021-11-08 |
4 | 20211130000001 | 資料4 | 2021-11-15 |
5 | 20211130000002 | 資料4 | 2021-12-04 |
6 | 20211130000003 | 資料5 | 2021-12-09 |
7 | 20211130000003 | 資料6 | 2021-12-13 |
8 | 20211130000004 | 資料7 | 2021-12-13 |
9 | 20211130000004 | 資料8 | 2021-12-14 |
orderid | memo | xdate |
---|---|---|
20211130000001 | 資料4 | 2021-11-15 |
20211130000002 | 資料4 | 2021-12-04 |
20211130000003 | 資料6 | 2021-12-13 |
20211130000004 | 資料8 | 2021-12-14 |
orderid | tel | memo | xdate |
---|---|---|---|
20211130000001 | 0987000111 | 資料4 | 2021-11-15 |
20211130000002 | 0987000111 | 資料4 | 2021-12-04 |
20211130000003 | 0987000222 | 資料6 | 2021-12-13 |
20211130000004 | 0987000111 | 資料8 | 2021-12-14 |