QUERY PLAN
Group (cost=25438.24..25438.37 rows=4 width=36)
Group Key: code
-> Sort (cost=25438.24..25438.26 rows=8 width=4)
Sort Key: code
-> Gather (cost=25437.28..25438.12 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=24437.28..24437.32 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..24276.43 rows=64337 width=4)
Filter: (code IS NOT NULL)