Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres add column from another table

UPDATE student
SET name = institute.inst_name
FROM institute
WHERE student.student_id = institute.inst_id;
Source by kb.objectrocket.com #
 
PREVIOUS NEXT
Tagged: #postgres #add #column #table
ADD COMMENT
Topic
Name
9+3 =