Insert multiple rows into single column

前端 未结 9 1647
抹茶落季
抹茶落季 2020-12-24 07:29

I\'m new to SQL, (using SQL 2008 R2) and I am having trouble inserting multiple rows into a single column.

I have a table named Data and this is what I

9条回答
  •  孤城傲影
    2020-12-24 08:05

    to insert values for a particular column with other columns remain same:-

    INSERT INTO `table_name`(col1,col2,col3)
       VALUES (1,'val1',0),(1,'val2',0),(1,'val3',0)
    

提交回复
热议问题