A Database Error Occurred

Error Number: 1054

Unknown column 'Bluedeemco' in 'where clause'

SELECT * FROM `invoice_products` WHERE `product_id` = `Bluedeemco` and `rating` >0 and `invoice_id` IN (select id from invoice where status=1) ORDER BY `id` DESC

Filename: models/Index.php

Line Number: 355