inserting multiple rows with one insert command

后端 未结 5 1601
不思量自难忘°
不思量自难忘° 2020-12-07 02:25

Is it possible to insert more than one row in a table with one insert statement? I know this will happen if I do:

insert into table ( fields ) select values          


        
5条回答
  •  伪装坚强ぢ
    2020-12-07 03:18

    INSERT INTO products (product_no, name, price) VALUES
        (1, 'Cheese', 9.99),
        (2, 'Bread', 1.99),
        (3, 'Milk', 2.99);
    

提交回复
热议问题