There are some basic postgres commands, those we use daily basis like listing database, switching database, listing tables etc.
- Listing Database
\l # or \list
2. Switching Database
\connect sales # or \c sales
3. Listing Tables
\dt
There are some basic postgres commands, those we use daily basis like listing database, switching database, listing tables etc.
\l # or \list
2. Switching Database
\connect sales # or \c sales
3. Listing Tables
\dt
Leave a Reply