Tiny thing but Cool command for psql

Let's get in psql interactive by


>> psql


Yes, If you wanna see all yours db.


psql>> \l


Select db


psql>> \c


you will get in selected db, then


>> \d    # to display all tables

Comments

Popular posts from this blog

Difference between apt-get update and apt-get dis-upgrade