Falha em: SELECT `tipo` FROM alunostmp WHERE matricula=