我对 CONCAT mysql 函数有疑问
Mysql 查询是
SELECT CONCAT(a_firstname,' ',a_lastname) as a_employeename FROM employee.
如果任何字段为空,这将给出空值
+--------------------------+
| a_firstname | a_lastname |
----------------------------
| bh | a |
| a | NULL |
+--------------------------+
结果
+----------------+
| a_employeename |
------------------
| bh |
| NULL |
+----------------+