The GROUPING function returns 1 when an expression evaluates to NULL, because the column value is NULL and represents the set of all values.

  • 表达式取值为NULL时,GROUPING函数返回值1,因为该列值是NULL且表示所有值的集合。
目录 查词历史