No valid database connection 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 'and
p.mfg <> 'N/A'
LIMIT 3' at line 9 SQL=SELECT
p.partsno,p.mfg,p.cond,p.description,eps.productid,eps.categoryid
FROM
`broker_parts`.`partall` AS p
LEFT JOIN `broker_parts`.`etilize_prods_short` AS eps
ON eps.partkey = p.partkey AND eps.mfg=p.mfg
WHERE
comp_id =
and
p.mfg <> 'N/A'
LIMIT 3