QUERY PLAN
Aggregate (cost=1.10..1.11 rows=1 width=32)
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..1.09 rows=4 width=4)
Filter: (status = 2)