QUERY PLAN
Group (cost=22925.59..22925.69 rows=3 width=36)
Group Key: code
-> Sort (cost=22925.59..22925.61 rows=6 width=4)
Sort Key: code
-> Gather (cost=22924.89..22925.52 rows=6 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=21924.89..21924.92 rows=3 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..21779.52 rows=58148 width=4)
Filter: (code IS NOT NULL)