QUERY PLAN
Group (cost=23037.30..23037.39 rows=3 width=36)
Group Key: code
-> Sort (cost=23037.30..23037.31 rows=6 width=4)
Sort Key: code
-> Gather (cost=23036.59..23037.22 rows=6 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=22036.59..22036.62 rows=3 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..21890.48 rows=58444 width=4)
Filter: (code IS NOT NULL)