--SIGN(x)返回参数的符号,x的值为负、零或正时,返回结果依次为-1、0或1 示例:select SIGN(-21), SIGN(0), SIGN(21) 结果:-1 0 1 转载于:https://www.cnblogs.com/llljpf/p/6543284.html