{"retcode":999,"retcode_descr":"Errore interrogazione db","retcode_sql":"Query non valida: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'eventDtIns '' ORDER BY dtInizio,dtFine,titolo' at line 8
sql: SELECT e.*\r\n\t\t\t, DATEDIFF(e.dtInizio, CURDATE()) as ggMancanti\r\n\t\t\t, DATEDIFF(e.dtFine, e.dtInizio) as ggDurata\r\n\t\t\t, p.nome as pathId_des\r\n\t\t\t, pe.joinedLevel\r\n\t\t\tFROM eventi e \r\n\t\t\t\tLEFT JOIN percorsi p ON (e.pathId = p.id)\r\n\t\t\t\tLEFT JOIN partecipazioni pe ON (e.userId = pe.eventUserId AND e.dtIns = pe.eventDtIns AND pe.joinedUserId = -1) WHERE userId = ' eventUserId ' AND dtIns = '' eventDtIns '' ORDER BY dtInizio,dtFine,titolo "}