Insert many rows in one statement

One INSERT with several value groups is much faster than many single inserts.

SQL · Insert many rows in one statementBeginner
INSERT INTO products (name, category, price, stock) VALUES
  ('Eraser',  'Stationery', 0.50, 200),
  ('Ruler',   'Stationery', 1.20, 150),
  ('Monitor', 'Electronics', 150.00, 7);
insertbulk