mysql> select concat('\'',group_concat(id),'\'') from mzm_arctype where reid=(select reid from mzm_arctype where id=(select typeid from
mzm_archives where id=21));
+------------------------------------+
| concat('\'',group_concat(id),'\'') |
+------------------------------------+
| '110,111' |
+------------------------------------+
1 row in set