diff --git a/game/Banco/missao.py b/game/Banco/missao.py index 3a15dc2..b47e9b1 100644 --- a/game/Banco/missao.py +++ b/game/Banco/missao.py @@ -47,7 +47,7 @@ def consultarMissaoNome(self, nome:str): try: conexao=self.db.conexao cursor=conexao.cursor() - cursor.execute(f"""SELECT * FROM Missao;""") + cursor.execute(f"""SELECT * FROM Missao WHERE NOME = '{nome}';""") conexao.commit() resultado=cursor.fetchall() print(resultado[0])