永徽长歌,泗水在线,养老金双轨制并轨
insert into 语句用于向表格中插入新的行。
insert into 表名称 values (值1, 值2,....)
我们也可以指定所要插入数据的列:
insert into table_name (列1, 列2,...) values (值1, 值2,....)
lastname | firstname | address | city |
---|---|---|---|
carter | thomas | changan street | beijing |
insert into persons values ('gates', 'bill', 'xuanwumen 10', 'beijing')
lastname | firstname | address | city |
---|---|---|---|
carter | thomas | changan street | beijing |
gates | bill | xuanwumen 10 | beijing |
lastname | firstname | address | city |
---|---|---|---|
carter | thomas | changan street | beijing |
gates | bill | xuanwumen 10 | beijing |
insert into persons (lastname, address) values ('wilson', 'champs-elysees')
lastname | firstname | address | city |
---|---|---|---|
carter | thomas | changan street | beijing |
gates | bill | xuanwumen 10 | beijing |
wilson | champs-elysees |
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
数据库SQL---数据库、基本表、视图、索引的定义、修改、删除
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (上)
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (下)
网友评论