QUERY PLAN
Delete on tbl_erp_inventory_product_spents (cost=0.00..14.06 rows=3 width=6)
-> Seq Scan on tbl_erp_inventory_product_spents (cost=0.00..14.06 rows=3 width=6)
Filter: (erp_inventory_transfer_spent_id = 1)