Check out example codes for "postgresql with example". It will help you in understanding the concepts better.

Code Example 1

With CTE AS
(Select
 ID
, NAME
, AGE
, ADDRESS
, SALARY
FROM COMPANY )
Select * From CTE;

Learn ReactJs, React Native from akashmittal.com