Skip to content

Commit

Permalink
feat: order by name
Browse files Browse the repository at this point in the history
  • Loading branch information
diksown committed Nov 26, 2023
1 parent bd09bd7 commit 483addb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shell.py
Expand Up @@ -94,7 +94,8 @@ def do_listar_turistas(self, arg):
"""
SELECT NOME, TURISTA.EMAIL
FROM TURISTA JOIN PESSOA
ON TURISTA.EMAIL = PESSOA.EMAIL;
ON TURISTA.EMAIL = PESSOA.EMAIL
ORDER BY NOME;
"""
)
console.print(table)
Expand Down

0 comments on commit 483addb

Please sign in to comment.