Falló consulta: ERROR: syntax error at or near "AND" LINE 1: select * from hum_contents WHERE id = AND id_type = 6 OR... ^