QUERY PLAN
Group (cost=31758.79..31758.92 rows=4 width=36)
Group Key: code
-> Sort (cost=31758.79..31758.81 rows=8 width=4)
Sort Key: code
-> Gather (cost=31757.83..31758.67 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=30757.83..30757.87 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..30525.68 rows=92862 width=4)
Filter: (code IS NOT NULL)