I have following data in my table \"devices\"
affiliate_name affiliate_location model ip os_type os_version cs1 inter
To have the same flexibility in CONCAT_WS as in CONCAT (if you don't want the same separator between every member for instance) use the following:
SELECT CONCAT_WS("",affiliate_name,':',model,'-',ip,... etc)