MySQL 的 IFNULL 查询 2015/07/15 13117 SELECT * FROM 用户表 ORDER BY IFNULL(nickname, realname); SELECT IFNULL(NULL,10); -- > 10