QUERY PLAN
Group (cost=28664.66..28664.79 rows=4 width=36)
Group Key: code
-> Sort (cost=28664.66..28664.68 rows=8 width=4)
Sort Key: code
-> Gather (cost=28663.70..28664.54 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=27663.70..27663.74 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..27450.58 rows=85249 width=4)
Filter: (code IS NOT NULL)