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