14ft Wide Sheds

SELECT p.productID, m.ProductName, p.productTitle, p.linkTo, p.pPageName, (SELECT imgID FROM tblImages WHERE imgProdID = p.ProductID AND imgThumbnail = 1 LIMIT 1), pThumbnailName, COALESCE((SELECT MIN(oOurPriceA) FROM tblOptionsPrices WHERE pID = p.productID),0), p.ManufacturerID, p.pShowEcommerce FROM tblProducts p, tblManfs m WHERE p.ManufacturerID = m.ManufacturerID AND p.pSubCategories LIKE '%|59|%' AND p.pLiveToWorld = 1[MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-nt]Unknown column 'p.pSubCategories' in 'where clause'