PostgreSQL 8.0 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also the latest version) or any GNU software archive site (often somewhat outdated). We recommend version 1.10 or newer. Many systems have a recent ver- sion of cvs installed by default. 2. Do an initial login0 码力 | 1422 页 | 9.92 MB | 1 年前3
PostgreSQL 8.0 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also the latest version) or any GNU software archive site (often somewhat outdated). We recommend version 1.10 or newer. Many systems have a recent version of cvs installed by default. 2. Do an initial login0 码力 | 1332 页 | 9.76 MB | 1 年前3
PostgreSQL 8.1.11 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also the latest version) or any GNU software archive site (often somewhat outdated). We recommend version 1.10 or newer. Many systems have a recent version of cvs installed by default. 2. Do an initial login0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also the latest version) or any GNU software archive site (often somewhat outdated). We recommend version 1.10 or newer. Many systems have a recent version of cvs installed by default. 2. Do an initial login0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 9.4 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; In a DELETE, the data available to RETURNING created at Mon Sep 14 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes ; Dumped from database version: 8.3.5 ; Dumped0 码力 | 2603 页 | 6.05 MB | 1 年前3
PostgreSQL 9.4.26 Documentation
want to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; 83 Chapter 6. Data Manipulation As you see, the expression for the new value can refer to the RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; In a DELETE, the data available to RETURNING created at Mon Sep 14 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes ; Dumped from database version: 8.3.5 ; Dumped0 码力 | 2452 页 | 5.99 MB | 1 年前3
PostgreSQL 9.5.25 Documentation
want to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; 90 Chapter 6. Data Manipulation As you see, the expression for the new value can refer to the RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; In a DELETE, the data available to RETURNING created at Mon Sep 14 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes ; Dumped from database version: 8.3.5 ; Dumped0 码力 | 2558 页 | 6.27 MB | 1 年前3
PostgreSQL 9.5 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; In a DELETE, the data available to RETURNING created at Mon Sep 14 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes ; Dumped from database version: 8.3.5 ; Dumped0 码力 | 2714 页 | 6.33 MB | 1 年前3
PostgreSQL 10.23 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; 102 Data Manipulation As you see, the expression for the new value can refer to the existing value(s) RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; In a DELETE, the data available to RETURNING 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes 1899 pg_restore ; Dumped0 码力 | 2727 页 | 11.93 MB | 1 年前3
PostgreSQL 10.23 Documentationwant to raise the price of all products by 10% you could use: UPDATE products SET price = price * 1.10; As you see, the expression for the new value can refer to the existing value(s) in the row. We also RETURNING is the new content of the modified row. For example: UPDATE products SET price = price * 1.10 WHERE price <= 99.99 RETURNING name, price AS new_price; 98 Data Manipulation In a DELETE, 13:55:39 2009 ; dbname: DBDEMOS ; TOC Entries: 81 ; Compression: 9 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 8 bytes ; Dumped from database version:0 码力 | 2590 页 | 12.03 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













