1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SADVENTU'' at line 6

select SUM(ns.product_quantity) AS Q FROM netshop_stock ns INNER JOIN netshop_shops ns1 ON ns.product_location=ns1.shops_id INNER JOIN netshop_shops_groups nsg ON nsg.id=ns1.shops_group_id WHERE (ns.product_owner_id<100000 AND ns.product_supplier_id<100000 AND nsg.id=1) AND ns1.shops_visible=1 AND ns.product_model= 'ALFRED'SADVENTU'

[TEP STOP]