A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

SELECT p.productid,p.procode,p.proname,p.casno,p.msds,p.unno,p.imco FROM productrangetrans t inner join product p on p.productid = t.productid where t.range_id = 0 group by productid order by proname asc limit 10,

Filename: /home/pallavchemicals/public_html/models/mpallav.php

Line Number: 68