Error: Unknown column 'psi.product_id' in 'where clause'
Error No: 1054
select sum(psi.quantity) as supplier_quantity from product_supplier_inventory as psi where psi.product_id = 151204 and psi.last_updated >= date_format( (NOW() + INTERVAL -15 DAY), "%Y-%m-%d 00:00:00" )