标签:
mysql> select concat(name,':',sex) from pet1; +----------------------+ | concat(name,':',sex) | +----------------------+ | 1:c | | NULL | | a:n | | abc:n | +----------------------+ 4 rows in set 如果其中有一字段为null,则显示null
标签:
原文地址:http://blog.csdn.net/shienquan/article/details/45217371