QUERY PLAN
Group (cost=26562.29..26562.35 rows=2 width=36)
Group Key: code
-> Sort (cost=26562.29..26562.30 rows=4 width=4)
Sort Key: code
-> Gather (cost=26561.83..26562.25 rows=4 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25561.83..25561.85 rows=2 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25321.86 rows=95986 width=4)
Filter: (code IS NOT NULL)