QUERY PLAN
Group (cost=30353.76..30353.82 rows=2 width=36)
Group Key: code
-> Sort (cost=30353.76..30353.77 rows=4 width=4)
Sort Key: code
-> Gather (cost=30353.30..30353.72 rows=4 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=29353.30..29353.32 rows=2 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..29077.91 rows=110155 width=4)
Filter: (code IS NOT NULL)