1064 - 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 '' at line 6

SELECT llistats_id FROM llistats_related lr LEFT JOIN llistats l on (lr.llistats_id = l.id) WHERE l.group_id = 52 /*formularis grup*/ AND lr.id_llistats_groups = 40 /*tipus group*/ AND related_id = /*type*/
Matrícula
1064 - 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 '' at line 6

SELECT llistats_id FROM llistats_related lr LEFT JOIN llistats l on (lr.llistats_id = l.id) WHERE l.group_id = 52 /*formularis grup*/ AND lr.id_llistats_groups = 40 /*tipus group*/ AND related_id = /*type*/
1064 - 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 'AND l.group_id = 58 /*llistat condicions matricula*/' at line 6

SELECT ld.descripcio, ld.descripcio2 FROM llistats_related lr LEFT JOIN llistats l on (l.id = lr.llistats_id) LEFT JOIN llistats_description ld on (ld.llistats_id = lr.llistats_id and ld.language_id = 1) WHERE related_id = /*tipus mav*/ AND l.group_id = 58 /*llistat condicions matricula*/

Codi:
0 ECTS
eventis