QUERY PLAN
Group (cost=25618.16..25618.29 rows=4 width=36)
Group Key: code
-> Sort (cost=25618.16..25618.18 rows=8 width=4)
Sort Key: code
-> Gather (cost=25617.20..25618.04 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=24617.20..24617.24 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..24455.17 rows=64810 width=4)
Filter: (code IS NOT NULL)