QUERY PLAN
Group (cost=26786.29..26786.42 rows=4 width=36)
Group Key: code
-> Sort (cost=26786.29..26786.31 rows=8 width=4)
Sort Key: code
-> Gather (cost=26785.33..26786.17 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=25785.33..25785.37 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..25586.68 rows=79460 width=4)
Filter: (code IS NOT NULL)