Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Rows, INSERT INTO, Returning with alias

INSERT INTO table_name(column1, column2, …)
VALUES (value1, value2, …)
RETURNING output_expression AS output_name;


Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #INSERT #Returning #alias
ADD COMMENT
Topic
Name
4+7 =