请问max()函数在oracle9i和10G中有什么区别?
    
                        谢谢!

解决方案 »

  1.   

    问一下,如果max里面的参数是NULL的话,比如有2个记录, 一个是10  一个是 null  那输出是什么? 默认的null 是无限大?
      

  2.   

    All aggregate functions except COUNT(*) and GROUPING ignore nulls. You can use the NVL function in the argument to an aggregate function to substitute a value for a null. COUNT never returns null, but returns either a number or zero. For all the remaining aggregate functions, if the data set contains no rows, or contains only rows with nulls as arguments to the aggregate function, then the function returns null.
      

  3.   

    这是哪个文档里面的? 
    意思是COUNT(*),GROUPING 不忽略null,其他的就不忽略null?