QUERY PLAN
Group (cost=31078.11..31078.24 rows=4 width=36)
Group Key: code
-> Sort (cost=31078.11..31078.13 rows=8 width=4)
Sort Key: code
-> Gather (cost=31077.15..31077.99 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=30077.15..30077.19 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..29850.13 rows=90807 width=4)
Filter: (code IS NOT NULL)