Error executing prepared query:-
QUERY-SELECT s.stockid,s.productid,p.product,s.quantity,s.attributestr FROM product_stock s,products p WHERE p.productid=s.productid AND s.stockid= order by s.stockid
MDB2 Error: syntax error