insertinto的意思是临时表、插入、插入数据、表名、语句。insertinto语句是写代码中常用的一个语句,其代码格式为:insertinto表名称values(值1,值2,、、、)
insertinto语句的写法。
写法1、insertintot1(field1,field2)value(v001,v002);
写法2、insertintot1(field1,field2)values(v101,v102),(v201,v202),(v301,v302),(v401,v402);
写法3、insertintot2(field1,field2)selectcol1,col2fromt1where……。
注意,写代码的时候,语句中用到的符号都是英文状态下的半角符号。
insertinto语句就是向表中添加数据,其简单语法形式为:insertinto表名[(列名[,列名]、、、)]values(值[,值],、、、);values后面的值的排列要与into子句后面的列名排列一致,若表名后面的所有列名省略,则values后的值的排列要与该表中存储的列名排列一致,“[]”表示其中的内容可省略。
- 健康问答
- 答案列表
insert into语句[朗读]
加入收藏