QUERY PLAN
Group (cost=26989.11..26989.24 rows=4 width=36)
Group Key: code
-> Sort (cost=26989.11..26989.13 rows=8 width=4)
Sort Key: code
-> Gather (cost=26988.15..26988.99 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25988.15..25988.19 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25787.93 rows=80085 width=4)
Filter: (code IS NOT NULL)