QUERY PLAN
Aggregate (cost=2.44..2.45 rows=1 width=32)
-> Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..2.33 rows=23 width=9)
Filter: (status = 2)