QUERY PLAN
HashAggregate (cost=1.39..1.64 rows=25 width=4)
Group Key: user_id
-> Seq Scan on tbl_punch_strategy_resource_rels (cost=0.00..1.32 rows=25 width=4)
Filter: ((user_id IS NOT NULL) AND (punch_strategy_id <> 35))