QUERY PLAN
Aggregate (cost=2.75..2.76 rows=1 width=32)
-> Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..2.55 rows=39 width=9)
Filter: (status = 2)