柴鸡蛋是什么| 日干是什么| 有气质是什么意思| 氨纶是什么| 阿迪达斯neo什么意思| hpu是什么意思| 非农业户口是什么意思| 什么叫犹太人| 约会去什么地方比较好| 氢氧化钙是什么东西| 9月15号是什么星座| 咽喉炎吃什么药好得快| 什么的脊背| 经常眩晕是什么原因| 中老年补钙吃什么钙片好| 夏枯草有什么作用| 92年1月属什么生肖| 暄字五行属什么| 9527是什么梗| 低血糖有什么症状| 女人大把掉头发是什么原因| 出痧是什么意思| 梦见包饺子是什么征兆| 针灸后需要注意什么| 渗透压偏高是什么原因| 6月28是什么星座| 118号是什么星座| 电解质是什么| 水镜先生和司马懿是什么关系| 肝火旺喝什么药| 吃什么对子宫好| 里急后重吃什么药| 沉默寡言是什么意思| 什么的雷锋| 斯德哥尔摩是什么意思| 什么样的孕妇容易翻盘| 轻断食是什么意思| 积食是什么症状| 吐槽是什么意思| 孩子发烧肚子疼是什么原因| 意有所指是什么意思| 足贴为什么变黑出油| 跳蛋是什么意思| 咖啡拿铁是什么意思| 监制是干什么的| 为什么小便是红色的尿| 每天早上起床头晕是什么原因| 宇五行属什么| 玉髓是什么玉| macd是什么意思| 牙龈变黑是什么原因| onlycook是什么牌子| 什么是卵巢囊肿| kalenji是什么品牌| 唐筛是检查什么的| 旌旗是什么意思| 处暑什么意思| 多吃木瓜有什么好处| 女孩当兵需要什么条件| 造影手术是什么意思| 史努比是什么品牌| 孕早期不能吃什么食物| 豹子是什么牌子| d二聚体高是什么原因| jdv是什么牌子| 如泰山前面一个字是什么啊| 固本培元是什么意思| 夸父是一个什么样的人| 睾丸肿痛吃什么药| 甲功是什么意思| 众所周知是什么生肖| 浇花的水壶叫什么| 康复科是主要治疗什么| 螨虫怕什么| 黄芪的功效与作用是什么| 眉心长痘是什么原因| 月经淋漓不尽是什么原因| 肌红蛋白高是什么意思| 四级军士长是什么级别| 毛豆烧什么好吃| 右侧卵巢内囊性结构什么意思| 甲状腺是什么病严重吗| 喝什么茶清肺效果最好| 什么长什么去| 5月19日什么星座| 尿为什么是黄色的| 塔罗是什么意思| 更年期潮热出汗吃什么药| 什么是畸胎瘤| 前列腺钙化是什么意思| 专家是什么意思| 为什么会得胆结石| 宦官是什么意思| 四五天不排便是什么原因| 水是由什么构成的| 乌龟吃什么| 早上空腹喝淡盐水有什么好处| 什么叫早泄| 你在看什么| 什么是双向情感障碍| 瘘管是什么意思| 故宫为什么叫故宫| 什么人不能喝丹参| 什么是结膜炎| 儿童低烧吃什么药| 县级干部是什么级别| 微量泵是干什么用的| 85年什么命| 做梦吃饺子是什么意思| 五六天不拉大便是什么原因| 为什么会脚麻| 脸上长肉疙瘩是什么原因| 嗝屁是什么意思| 非洲割礼是什么| 乔治阿玛尼和阿玛尼有什么区别| 肝不好吃什么| 什么是淋巴| 男生叫你姑娘什么意思| 氟比洛芬是什么药| 血压低会出现什么症状| 穿匡威的都是什么人| 痞子是什么意思| 一什么三什么的成语| 波司登是什么档次| yuki是什么意思| 柠檬黄配什么颜色好看| 结膜炎挂什么科| 老年人便秘吃什么药| 什么样的情况下会怀孕| 护腕有什么用| 什么网名好听| 订单号是什么| 身上出冷汗是什么原因| 信访局是干什么的| 闷葫芦是什么意思| 孕检无创是检查什么的| 旗袍配什么鞋| 茧是什么意思| 骨转移是什么意思| 肉桂跟桂皮有什么区别| 神经衰弱吃什么药效果最好| 什么人容易得甲亢| 壬水命是什么意思| 沉疴是什么意思| mpe是什么意思| 看脖子挂什么科| jacquemus是什么牌子| 男人怕冷是什么原因| 三焦湿热吃什么中成药| 蟋蟀吃什么| 高凝状态是什么意思| 结婚下大雨是什么兆头| 过房养是什么意思| 135是什么意思| 怀孕子宫前位和后位有什么区别| 吃了饭胃胀是什么原因| 巩固是什么意思| act是什么| 月亮象征着什么| 血压高吃什么食物好| 射精无力吃什么药好| 舌裂是什么原因造成的| o型血和o型血生的孩子是什么血型| 就义是什么意思| 唐筛是什么意思| 心理卫生科看什么病的| 尿路感染是什么症状| 检查妇科清洁度三是什么意思| 有机和无机是什么意思| 儿童补锌吃什么| 为什么脖子上会长痘痘| 鸡爪烧什么好吃| 跑龙套是什么意思| 剧透什么意思| 上眼药是什么意思| 下游是什么意思| ha是什么意思| 猪八戒叫什么名字| 西晋之后是什么朝代| 反应蛋白偏高说明什么| 地瓜什么时候成熟| 复古是什么意思| 因地制宜是什么意思| 177是什么意思| 完璧归赵发生在什么时期| doms是什么意思| 湿气是什么原因引起的| 胃反酸吃什么食物好| 减肥应该吃什么主食| 鬼画符是什么意思| 教师资格证有什么用| 腋臭手术挂什么科| 氯是什么意思| 头发斑秃是什么原因引起的| 花重锦官城的重是什么意思| 压箱钱是什么意思| 孙子兵法到底说什么| 耳朵发热是什么预兆| 阳起石是什么东西| 计算机科学与技术是学什么的| 女性经常手淫有什么危害| 脚掌心发热是什么原因| 突然头昏是什么原因引起的| 尿比重高是什么意思| 五行缺水是什么意思| 蜘蛛痣是什么样的| 手术后吃什么补品好| 尿胆原阴性是什么意思| 坐骨神经痛吃什么药好| 淋巴细胞百分比偏高是什么意思| 总是干咳是什么原因| 5月11号是什么星座| 吃什么能增强免疫力和抵抗力| 愚昧是什么意思| 带状疱疹是什么原因引起| 什么是开悟| 高密度脂蛋白胆固醇低是什么意思| 乌龟喜欢吃什么| 1.8号是什么星座| 第一次查怀孕挂什么科| pussy是什么意思| 人为什么会说梦话| 硝酸是什么| pass掉是什么意思| 结婚有什么好处| 冬至有什么禁忌| 备孕喝豆浆有什么好处| 脉细是什么意思| 认干妈有什么讲究| 吃什么帮助消化通便| 蚕蛹吃什么| 跖疣是什么样子图片| 上房揭瓦是什么意思| 素女是什么意思| 鲶鱼效应是什么意思| 一听是什么意思| 头疗是什么| 利有攸往是什么意思| 木木耳朵旁是什么字| 轻如鸿毛是什么意思| 痔疮复发的原因是什么| 山野是什么意思| 扁桃体割了对身体有什么影响| 35属什么| 察言观色是什么意思| 男生剪什么发型好看| 血糖高不能吃什么水果| 抽筋吃什么药| 糜烂型脚气用什么药最好| 顺钟向转位是什么意思| 手臂突然疼痛什么原因| 朋友妻不可欺是什么意思| wear是什么意思| 奶油色是什么颜色| 吃山药有什么好处和坏处| 为什么感冒会流眼泪| 牙龈肿痛是什么原因| 紫涵女装属于什么档次| 第四个手指叫什么| 怕热爱出汗是什么原因| 嘴唇干裂是什么原因| as是什么材质| 雪梨是什么梨| 用你的手解我的锁是什么歌| 百度
Supported Versions: Current (17) / 16 / 15 / 14 / 13
Development Versions: 18 / devel
Unsupported versions: 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

陕将建政府公信力评价制度 把政务履约纳入绩效评价

Name

INSERT -- create new rows in a table

Synopsis

百度 (3)全面推广在试点基础上,通过原有环卫人员接收、车辆更新、清洁直运线路优化、中转站功能创新、配套设施建设等,实现了清洁直运工作由点到面的全面突破,直运范围覆盖杭州主城区(滨江区除外)。
INSERT INTO table [ ( column [, ...] ) ]
    { DEFAULT VALUES | VALUES ( { expression | DEFAULT } [, ...] ) [, ...] | query }
    [ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]

Description

INSERT inserts new rows into a table. One can insert one or more rows specified by value expressions, or zero or more rows resulting from a query.

The target column names can be listed in any order. If no list of column names is given at all, the default is all the columns of the table in their declared order; or the first N column names, if there are only N columns supplied by the VALUES clause or query. The values supplied by the VALUES clause or query are associated with the explicit or implicit column list left-to-right.

Each column not present in the explicit or implicit column list will be filled with a default value, either its declared default value or null if there is none.

If the expression for any column is not of the correct data type, automatic type conversion will be attempted.

The optional RETURNING clause causes INSERT to compute and return value(s) based on each row actually inserted. This is primarily useful for obtaining values that were supplied by defaults, such as a serial sequence number. However, any expression using the table's columns is allowed. The syntax of the RETURNING list is identical to that of the output list of SELECT.

You must have INSERT privilege on a table in order to insert into it. If a column list is specified, you only need INSERT privilege on the listed columns. Use of the RETURNING clause requires SELECT privilege on all columns mentioned in RETURNING. If you use the query clause to insert rows from a query, you of course need to have SELECT privilege on any table or column used in the query.

Parameters

table

The name (optionally schema-qualified) of an existing table.

column

The name of a column in table. The column name can be qualified with a subfield name or array subscript, if needed. (Inserting into only some fields of a composite column leaves the other fields null.)

DEFAULT VALUES

All columns will be filled with their default values.

expression

An expression or value to assign to the corresponding column.

DEFAULT

The corresponding column will be filled with its default value.

query

A query (SELECT statement) that supplies the rows to be inserted. Refer to the SELECT statement for a description of the syntax.

output_expression

An expression to be computed and returned by the INSERT command after each row is inserted. The expression can use any column names of the table. Write * to return all columns of the inserted row(s).

output_name

A name to use for a returned column.

Outputs

On successful completion, an INSERT command returns a command tag of the form

INSERT oid count

The count is the number of rows inserted. If count is exactly one, and the target table has OIDs, then oid is the OID assigned to the inserted row. Otherwise oid is zero.

If the INSERT command contains a RETURNING clause, the result will be similar to that of a SELECT statement containing the columns and values defined in the RETURNING list, computed over the row(s) inserted by the command.

Examples

Insert a single row into table films:

INSERT INTO films VALUES
    ('UA502', 'Bananas', 105, '2025-08-08', 'Comedy', '82 minutes');

In this example, the len column is omitted and therefore it will have the default value:

INSERT INTO films (code, title, did, date_prod, kind)
    VALUES ('T_601', 'Yojimbo', 106, '2025-08-08', 'Drama');

This example uses the DEFAULT clause for the date columns rather than specifying a value:

INSERT INTO films VALUES
    ('UA502', 'Bananas', 105, DEFAULT, 'Comedy', '82 minutes');
INSERT INTO films (code, title, did, date_prod, kind)
    VALUES ('T_601', 'Yojimbo', 106, DEFAULT, 'Drama');

To insert a row consisting entirely of default values:

INSERT INTO films DEFAULT VALUES;

To insert multiple rows using the multirow VALUES syntax:

INSERT INTO films (code, title, did, date_prod, kind) VALUES
    ('B6717', 'Tampopo', 110, '2025-08-08', 'Comedy'),
    ('HG120', 'The Dinner Game', 140, DEFAULT, 'Comedy');

This example inserts some rows into table films from a table tmp_films with the same column layout as films:

INSERT INTO films SELECT * FROM tmp_films WHERE date_prod < '2025-08-08';

This example inserts into array columns:

-- Create an empty 3x3 gameboard for noughts-and-crosses
INSERT INTO tictactoe (game, board[1:3][1:3])
    VALUES (1, '{{" "," "," "},{" "," "," "},{" "," "," "}}');
-- The subscripts in the above example aren't really needed
INSERT INTO tictactoe (game, board)
    VALUES (2, '{{X," "," "},{" ",O," "},{" ",X," "}}');

Insert a single row into table distributors, returning the sequence number generated by the DEFAULT clause:

INSERT INTO distributors (did, dname) VALUES (DEFAULT, 'XYZ Widgets')
   RETURNING did;

Compatibility

INSERT conforms to the SQL standard, except that the RETURNING clause is a PostgreSQL extension. Also, the case in which a column name list is omitted, but not all the columns are filled from the VALUES clause or query, is disallowed by the standard.

Possible limitations of the query clause are documented under SELECT.

牙冠是什么 k代表什么 扑朔迷离是什么意思 甲钴胺片是治什么病 内痔疮吃什么药好得快
磨牙是什么原因引起的如何治疗 心脏做什么检查最准确 公鸡为什么会啄人 晚上睡觉小腿抽筋是什么原因 嗜酸性粒细胞高是什么原因
灯笼裤配什么鞋子好看 上火吃什么药最有效果 下巴下面长痘痘是什么原因 伤口不容易愈合是什么原因 神经衰弱吃什么药效果最好
母亲节送给妈妈什么礼物好 鱼胶是鱼的什么部位 睡不着有什么好办法吗 1999年是什么生肖 什么叫窦性心律不齐
空调出现pl是什么意思hcv8jop6ns0r.cn c反应蛋白偏高说明什么hcv7jop6ns0r.cn 长命锁一般由什么人送huizhijixie.com 白目是什么意思hcv9jop5ns0r.cn 瑞舒伐他汀钙片什么时候吃hcv9jop4ns6r.cn
男生爱出汗是什么原因hcv9jop2ns7r.cn 女人什么身材最好看hcv9jop2ns2r.cn 喝什么茶不影响睡眠hcv8jop2ns0r.cn 不全纵隔子宫是什么意思hcv9jop0ns1r.cn 为什么叫a股hcv7jop7ns1r.cn
老子姓什么hcv8jop3ns1r.cn 梦见煮饺子是什么意思qingzhougame.com 三百年前是什么朝代hcv9jop7ns1r.cn 得了狂犬病有什么症状hcv8jop6ns7r.cn 汉防己甲素片治什么病1949doufunao.com
淋巴细胞偏低什么意思hcv8jop2ns0r.cn 小肚子疼是什么原因hcv9jop3ns8r.cn 属马的男生和什么属相最配hcv8jop2ns1r.cn 什么终于什么造句hcv9jop3ns2r.cn 黑米是什么米hcv8jop5ns6r.cn
百度