logo

This is an old version of this answer!

Return to the current answer
SELECT xmf_userid, concat('\'', group_concat(email SEPARATOR  '\',\''), '\'') as emails FROM user_profile where xmf_userid > 0 GROUP BY xmf_userid


something like that.

Oleg Butuzov | 07/16/10 at 12:24pm

This is an old version of this answer!

Return to the current answer