QUERY PLAN
Group (cost=26535.01..26535.07 rows=2 width=36)
Group Key: code
-> Sort (cost=26535.01..26535.02 rows=4 width=4)
Sort Key: code
-> Gather (cost=26534.55..26534.97 rows=4 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25534.55..25534.57 rows=2 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25294.84 rows=95884 width=4)
Filter: (code IS NOT NULL)