Check out example codes for "use database postgres command". It will help you in understanding the concepts better.

Code Example 1

\c databasename;

Learn ReactJs, React Native from akashmittal.com