problema SQL: SELECT glink,globalmoneta.dritto,globalmoneta.retro, globalmoneta.rldritto,globalmoneta.rlverso,globalmoneta.ldritto,globalmoneta.lretro,globalmoneta.globid,globalmoneta.cointitle, globalmoneta.type, node.coiner,node.id as coinerid,node.realcoiner,node.maintitle,node.descr FROM (coiner AS node,globalmoneta) WHERE node.lft BETWEEN AND AND globalmoneta.parentid=node.id GROUP BY globalmoneta.globid ORDER BY node.rgt DESC,globalmoneta.ordine LIMIT 100000 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND AND globalmoneta.parentid=node.id GROUP BY globalmoneta.globid ' at line 6