String Functions MySQL Tutorial

mysql>
mysql> SELECT MAKE_SET(1 | 4,'A','B','C');
+-----------------------------+
| MAKE_SET(1 | 4,'A','B','C') |
+-----------------------------+
| A,C                         |
+-----------------------------+
1 row in set (0.02 sec)