Error:

ERROR: syntax error at or near "JOIN" LINE 1: SELECT * FROM LEFT JOIN imagen ON ._id=tabla_id AND tabla_n... ^
SELECT * FROM LEFT JOIN imagen ON ._id=tabla_id AND tabla_nombre='' WHERE .pais_id=1 AND _info_publica=true ORDER BY nivel1_id,nivel2_id,_nombre OFFSET 0 LIMIT 10


Error:

ERROR: syntax error at or near "WHERE" LINE 1: SELECT COUNT(*) AS cuenta FROM WHERE .pais_id=1 AND _info_... ^
SELECT COUNT(*) AS cuenta FROM WHERE .pais_id=1 AND _info_publica=true


Error:

ERROR: syntax error at or near "WHERE" LINE 1: SELECT * FROM WHERE _id=0 ^
SELECT * FROM WHERE _id=0


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel1_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel1_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.pais_id=1


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel2_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel2_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.nivel2_id=.nivel2_id AND v_iter.pais_id=1


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel3_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel3_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.nivel2_id=.nivel2_id AND v_iter.nivel3_id=.nivel3_id AND v_iter.pais_id=1


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel1_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel1_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.pais_id=1


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel2_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel2_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.nivel2_id=.nivel2_id AND v_iter.pais_id=1


Error:

ERROR: syntax error at or near "," LINE 1: SELECT DISTINCT nivel3_nombre FROM , v_iter WHERE v_iter.niv... ^
SELECT DISTINCT nivel3_nombre FROM , v_iter WHERE v_iter.nivel1_id=.nivel1_id AND _id=0 AND v_iter.nivel2_id=.nivel2_id AND v_iter.nivel3_id=.nivel3_id AND v_iter.pais_id=1

UbicaciĆ³n









Última actualización