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

Code Example 1

INSERT INTO table_name (column_list)
VALUES
    (value_list_1),
    (value_list_2),
    ...
    (value_list_n);

Learn ReactJs, React Native from akashmittal.com