SELECT * FROM JT_City WHERE (REPLACE(sCityName,'/ ','')='Hue' AND iProvinceID =Hue ) OR (REPLACE(sCityName,'/',' ')='Hue' AND iProvinceID =Hue);Unknown column 'Hue' in 'where clause'