select * from database postgreasql code example Example: use database postgres command \c databasename;