QUERY PLAN
Aggregate (cost=31.76..31.77 rows=1 width=32)
-> Seq Scan on tbl_inventory_product_spents (cost=0.00..31.75 rows=1 width=5)
Filter: (sales_product_id = 812)