Du undslipper bogstaver i MySQL ved at bruge backticks `
SELECT compo.clecompo FROM compo compo ON (compo.clecompo = metadatas_compo.clecompo) AND ((metadatas_compo.`value` LIKE '%%NOM%%') OR (metadatas_values.metavalues_name LIKE '%%NOM%%'))
Det anbefales dog ikke at bruge reserverede bogstaver i dine tabel-/kolonnenavne. For en liste over reserverede ord:
http://dev.mysql.com/doc/refman /5.5/da/reserved-words.html