QUERY PLAN
Group (cost=26256.51..26256.64 rows=4 width=36)
Group Key: code
-> Sort (cost=26256.51..26256.53 rows=8 width=4)
Sort Key: code
-> Gather (cost=26255.55..26256.39 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25255.55..25255.59 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25088.65 rows=66762 width=4)
Filter: (code IS NOT NULL)