Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
PostgreSQL
Insert Delete Update 33 codes
Home
PostgreSQL
Insert Delete Update
1 A simple UPDATE
2 Delete a single row
3 Delete all rows in a table
4 DELETE ONLY from parent table
5 Deleting all table rows
6 Deleting rows from a table
7 Do calculation in select statement
8 Do math calculation in select statement
9 Fill the columns from the left with as many values as are given, and the rest will be defaulted
10 Insert date data to table
11 INSERT INTO vv SELECT abc def
12 Insert into by select statement
13 Insert only an ID
14 Inserts a single row into the employees table
15 List the columns explicitly
16 Omit values
17 Query a single row
18 Removes all with conditions
19 Request default values explicitly for the entire row
20 Request default values explicitly, for individual columns
21 Restructuring a table with CREATE TABLE and INSERT INTO
22 The data values are listed in the order in which the columns appear in the table, separated by commas
23 Update a single row
24 Update in a slice
25 Update two columns in one single statement
26 Updating entire columns
27 Updating Several Columns
28 Use aggregate function in select statement
29 Using defined function in select statement
30 Using expression in update statement
31 Using UPDATE with several Employees
32 Using user defined function to update table data
33 Write expressions, not just simple column references, in the select list