0
I’m learning to use the Postgresql instead of Mysql and Sqlserver, but I’m still lost with some basic commands.
So far, the only one I’ve been able to get acquainted with is this:
listar os bancos de dados
\l -> SELECT datname FROM pg_database;
I would like help to understand what the alternatives to these commands would be:
\c nome_do_banco -> para acessar o banco de dados
\dt -> listar todas as tabelas
\d nome_da_tabela -> descreve a tabela
You want to know what these commands do or their equivalent in SQL?
– vinibrsl
These are the equivalent SQL commands.
– Ronaldo Mendes