Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://stackoverflow.com/questions/28986135/concatenate-fields-of-rows-with-the-same-id-in-mysql
- SELECT m.id, GROUP_CONCAT(distinct(g.loc))
- FROM mutations m JOIN
- genes g
- ON m.id = g.id
- GROUP BY m.id;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement