I think what you want is to create another column in your existing table, and then run a query which concatenates the other software columns together into that column, right?
IonFilipski is right that you need the CONCAT function, but the a. and b. refers to concatenating columns from two different tables, which is not what you seem to want.
Try this:
1. create a "group" column on your table. I am assuming your tablename is also "Software.
2. Run this query: "UPDATE {tablename} SET group = CONCAT_WS(', ', word,excel,access,winzip,photoshop,powerpoint);"
3. Now you can drop the individual software columns, and just keep the group column (name it whatever you want).
The CONCAT_WS function is a variation of CONCAT that allows you to specify a separator for all the elements at once.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.