Quality based, Credit principal

MySQL Query : select a.typeid,a.type_name,a.s_url from smc_a_f_type a,smc_a_f_product_gl b where a.typeid=b.type_id and b.product_id= LIMIT 1
MySQL Error : 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 'LIMIT 1' at line 1
MySQL Errno : 1064
Message : MySQL Query Error