Database Error

An Error Was Encountered

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 'AND p.ProductID = ps.ProductID AND ps.SiteID = "hv"' at line 1

SELECT p.*, ps.SiteID AS SiteID FROM pr_product AS p, pr_product_site AS ps WHERE p.ProductID = AND p.ProductID = ps.ProductID AND ps.SiteID = "hv"