|
|
|
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 price > 0
ORDER BY sbp.sort' at line 12SELECT *, t.name As typename, pm.filename As manu, p.filename As pfilename
FROM geSponsors_byplayers sbp
LEFT JOIN products p
USING (productid)
LEFT JOIN product_manufacturers pm
ON p.manufacturerid=pm.manufacturerid
LEFT JOIN distributorInventory di
ON p.productid = di.productid
LEFT JOIN geTypes t
ON sbp.typeid = t.typeid
WHERE playerid =
AND price > 0
ORDER BY sbp.sort |