SELECT a.proTypeID , b.infoID FROM producttype a JOIN information b ON a.proTypeID = b.proTypeID WHERE b.typeNo = "09" AND b.infoID =Oilseal%20Construction mysqlFetch error !!!!Unknown column 'Oilseal' in 'where clause'