Unknown column 'xxx' in 'where clause'
SELECT * FROM generar_encuesta WHERE id_encuesta = xxx AND id_cliente = x AND con_clave_u = 1