QUERY PLAN
Group (cost=27227.28..27227.42 rows=4 width=36)
Group Key: code
-> Sort (cost=27227.28..27227.31 rows=8 width=4)
Sort Key: code
-> Gather (cost=27226.33..27227.17 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=26226.33..26226.37 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..26024.28 rows=80820 width=4)
Filter: (code IS NOT NULL)