题解 | 将employees表中的所有员工的last_name和first_name符号连接起来。
将employees表中的所有员工的last_name和first_name通过符号连接起来。
https://www.nowcoder.com/practice/810bf4ee3ac64949b08983aa66ec7bee
select concat_ws("'",last_name,first_name) from employees
concat是有多少拼多少,ws是可以设置每个字符中间的间隔符,另外当有null时,concat会整体等于null,ws会过滤掉拼接
