SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at end of input LINE 1: ...x_usu_armazen as d on d.id_armazen = b.id where d.id_user = ^