用 max
如:
select IFNULL(MAX(PERSONNAME),'-') as PERSONNAME from aaa
![在这里插入图片描述](https://img-blog.csdnimg.cn/34a1c24d4a344d50b3b8904964c7200c.png
用 max
如:
select IFNULL(MAX(PERSONNAME),'-') as PERSONNAME from aaa
![在这里插入图片描述](https://img-blog.csdnimg.cn/34a1c24d4a344d50b3b8904964c7200c.png