QUERY PLAN
Aggregate (cost=2.87..2.88 rows=1 width=32)
-> Seq Scan on tbl_erp_cost_tickets t (cost=0.00..2.74 rows=52 width=5)
Filter: (status = 2)