表test001,有一字段address 值全部为空。 select max(address) from test001;返回空值。 select nvl(max(address),4) from test001; 返回值为默认的4. 希望对你有帮助