SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "and" LINE 1: ...en = almox_armazens.id where almox_armazens.id = and almox_... ^