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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

select p.estat_matricula from products p where id =
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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

select p.estat_matricula from products p where id =
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 1

SELECT pd.titol_boto_matriculat_pas_1 FROM products p LEFT JOIN products_description pd on (p.id = pd.products_id and pd.language_id = 3) WHERE p.id =
Enrollment
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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

select p.estat_matricula from products p where id =
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 1

SELECT pd.titol_boto_matriculat_pas_1 FROM products p LEFT JOIN products_description pd on (p.id = pd.products_id and pd.language_id = 3) WHERE p.id =
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 1

SELECT p.id,p.amagar_header_peu_matricula FROM products p WHERE p.id =
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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

select p.estat_matricula from products p where id =
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 1

SELECT pd.titol_boto_matriculat_pas_1 FROM products p LEFT JOIN products_description pd on (p.id = pd.products_id and pd.language_id = 3) WHERE p.id =
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 1

SELECT p.id,p.amagar_header_peu_matricula FROM products p WHERE p.id =
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 1

SELECT p.id,p.codi, p.id_tipus_estudi, p.places, p.id_idioma_publicar, pd.name,p.tipus_credits,p.total_ects,p.total_hores_presencials, pd.url_title,p.data_ini_curs,p.data_fi_curs,p.data_treball_final, pd.resum_horari_web,pd.text_bloc_lateral_matricula,p.es_microsite,p.domini,p.idioma_defecte_microsite,p.url_redir_fitxa FROM products p LEFT JOIN products_description pd on ( p.id = pd.products_id and pd.language_id = 3 ) WHERE p.id =
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 3

SELECT p.te_form_espe,p.id_formulari,p.id_tipus_estudi FROM products p WHERE p.id =
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 '' at line 3

select p.estat_matricula from products p where id =
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 1

SELECT pd.titol_boto_matriculat_pas_1 FROM products p LEFT JOIN products_description pd on (p.id = pd.products_id and pd.language_id = 3) WHERE p.id =
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 1

SELECT p.id,p.amagar_header_peu_matricula FROM products p WHERE p.id =
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 1

SELECT p.id,p.codi, p.id_tipus_estudi, p.places, p.id_idioma_publicar, pd.name,p.tipus_credits,p.total_ects,p.total_hores_presencials, pd.url_title,p.data_ini_curs,p.data_fi_curs,p.data_treball_final, pd.resum_horari_web,pd.text_bloc_lateral_matricula,p.es_microsite,p.domini,p.idioma_defecte_microsite,p.url_redir_fitxa FROM products p LEFT JOIN products_description pd on ( p.id = pd.products_id and pd.language_id = 3 ) WHERE p.id =
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 8

SELECT sum(l.generic3) as sum_presencials, sum(l.generic4) as sum_videoconferencia, sum(l.generic2) as sum_ects FROM products_llistats pl LEFT JOIN llistats l on ( pl.llistats_id = l.id ) WHERE pl.groups_id = 48 /*assignatures*/ AND pl.products_id = /*mavID*/

Code:
0 ECTS
eventis