QUERY PLAN
Group (cost=26513.80..26513.93 rows=4 width=36)
Group Key: code
-> Sort (cost=26513.80..26513.82 rows=8 width=4)
Sort Key: code
-> Gather (cost=26512.84..26513.68 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25512.84..25512.88 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25316.29 rows=78621 width=4)
Filter: (code IS NOT NULL)