QUERY PLAN
Group (cost=29330.30..29330.43 rows=4 width=36)
Group Key: code
-> Sort (cost=29330.30..29330.32 rows=8 width=4)
Sort Key: code
-> Gather (cost=29329.34..29330.18 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=28329.34..28329.38 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..28111.09 rows=87300 width=4)
Filter: (code IS NOT NULL)