DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+4 =
Submit