SQL problem: SELECT coiner.id,globalmoneta.cointitle,globalmoneta.globid,globalmoneta.macchinina,globalmoneta.falsotti,idasta FROM (coiner,globalmoneta,moneta) LEFT JOIN passaggiasta ON passaggiasta.realglobid=globalmoneta.globid WHERE globalmoneta.parentid=coiner.id AND moneta.parentid=coiner.id AND moneta.globid=globalmoneta.globid AND (moneta.zecca RLIKE ":?Mileto([?]?:?") GROUP BY globalmoneta.globid ORDER BY coiner.rgt DESC, globalmoneta.ordine Got error 'missing ) at offset 15' from regexp