By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 2
| ?column? |
|---|
| SELECT concat_ws('**', col1, col2, col3) AS concat_col, id, other1 FROM tbl; |
SELECT 1
| concat_col | id | other1 |
|---|---|---|
| 1**2**3 | 1 | 8 |
| 4**5**6 | 2 | 8 |
SELECT 2