QUERY PLAN
Group (cost=22708.39..22708.49 rows=3 width=36)
Group Key: code
-> Sort (cost=22708.39..22708.41 rows=6 width=4)
Sort Key: code
-> Gather (cost=22707.68..22708.31 rows=6 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=21707.68..21707.71 rows=3 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..21563.75 rows=57572 width=4)
Filter: (code IS NOT NULL)