QUERY PLAN
Delete on tbl_erp_inventory_product_spents (cost=0.00..14.06 rows=2 width=6)
-> Seq Scan on tbl_erp_inventory_product_spents (cost=0.00..14.06 rows=2 width=6)
Filter: (erp_inventory_build_spent_id = 12)