insert into 语法
时间: 2023-09-27 08:08:05 浏览: 148
INSERT INTO语句用于向表中插入新记录。可以插入一行或同时插入多行。其语法格式有两种形式。第一种形式是简单的INSERT INTO语句,如所示:INSERT INTO table_name VALUES (value1, value2, value3, ...);其中,table_name是要插入数据的表名,value1、value2、value3等是要插入的值。第二种形式是指定要插入的字段和对应的值,如所示:INSERT INTO TABLE_NAME (column1, column2, column3, ... columnN) VALUES (value1, value2, value3, ... valueN)。其中,column1、column2等是表中的字段名,value1、value2等是字段对应的值。可以根据需要使用这两种形式来执行INSERT INTO语句。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [PostgreSQL INSERT INTO 语句](https://blog.csdn.net/pg_hgdb/article/details/121513857)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [6、INSERT INTO 语句](https://blog.csdn.net/qq_30641447/article/details/52123813)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文