Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres set column based on another column

UPDATE table_name 
SET column_one = column_two,
WHERE column_two = 'some string'
 
PREVIOUS NEXT
Tagged: #postgres #set #column #based #column
ADD COMMENT
Topic
Name
7+8 =