QUERY PLAN
Aggregate (cost=4.39..4.40 rows=1 width=32)
-> Seq Scan on tbl_erp_cost_tickets (cost=0.00..4.03 rows=73 width=9)
Filter: (status = 2)