13
13
multi row inserts, performance thereof.
15
INSERT statements that use VALUES syntax can insert multiple rows. To do this, use the multirow VALUES syntax (include multiple lists of column values, each enclosed within parentheses and separated by commas): ::
15
INSERT statements that use VALUES syntax can insert multiple rows. To do this, use the multirow VALUES syntax (include multiple lists of column values, each enclosed within parentheses and separated by commas):
17
19
INSERT INTO music (artist, album, date_prod, genre) VALUES
18
20
('Beatles', 'Abbey Road', '1969-09-26', 'rock'),
19
21
('The Velvet Underground', 'The Velvet Underground', '1969-03-05', 'rock');
23
27
INSERT INTO table_1 (a,b,c) VALUES(1,2,3),(4,5,6),(7,8,9);
27
33
INSERT INTO table_1 (a,b,c) VALUES(1,2,3,4,5,6,7,8,9);