Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql update one table from another table multiple columns

 update  tabe2 set subject_id = (SELECT GROUP_CONCAT(sub_id SEPARATOR ', ') as sub_id FROM tabe1) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #update #table #table #multiple #columns
ADD COMMENT
Topic
Name
6+9 =