QUERY PLAN
Aggregate (cost=2.65..2.66 rows=1 width=32)
-> Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..2.48 rows=35 width=9)
Filter: (status = 2)