Check out example codes for "mysql best way to insert many rows". It will help you in understanding the concepts better.

Code Example 1

INSERT INTO table_name(id,colname) values(1,"row 1"),(2, "row 2"),...;

Code Example 2

INSERT INTO tables_name (column1, column2)
# the value before the komma is the value that will be placed in 
#columns1 and the value there after is placed in column2
VALUES (25, '2020-01-01'),

       (24, '2021-01-01')

Learn ReactJs, React Native from