Check out example codes for "psql make a list". It will help you in understanding the concepts better.

Code Example 1

SELECT * FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) AS t (num,letter);

Learn ReactJs, React Native from akashmittal.com