QUERY PLAN
Aggregate (cost=1.15..1.16 rows=1 width=32)
-> Seq Scan on tbl_erp_wage_tickets t (cost=0.00..1.14 rows=5 width=3)
Filter: (status = 2)