db2函数大全(DB2 function Daquan).doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
db2函数大全(DB2 function Daquan)

db2函数大全(DB2 function Daquan) Examples of function name function interpretation functions AVG () returns the average value of a set of values. SELECTAVG (SALARY) FROMBSEMPMS; CORR (), CORRELATION () returns the relational coefficient of a pair of values. SELECTCORRELATION (SALARY, BONUS) FROMBSEMPMS; COUNT () returns the number of rows or values. SELECTCOUNT (*) FROMBSEMPMS; COVAR (), COVARIANCE () returns the covariance of a pair of values. SELECTCOVAR (SALARY, BONUS) FROMBSEMPMS; MAX () returns the maximum value in a set of values. SELECTMAX (SALARY) FROMBSEMPMS; MIN () returns the minimum value in a set of values. SELECTMIN (SALARY) FROMBSEMPMS; STDDEV () returns the standard deviation of a set of values. SELECTSTDDEV (SALARY) FROMBSEMPMS; SUM () returns the sum of a set of data. SELECTSUM (SALARY) FROMBSEMPMS; VAR (), VARIANCE () returns the variance of a set of values. SELECTVARIANCE (SALARY) FROMBSEMPMS; ABS (), ABSVAL () returns the absolute value of the parameter. SELECTABS (-3.4) FROMBSEMPMS; ACOS () returns the inverse cosine value of the parameter. SELECTACOS (0.9) FROMBSEMPMS; ASCII () returns the ASCII code of the leftmost character of the integer argument. SELECTASCII (R) FROMBSEMPMS; ASIN () returns the inverse sine function of the angle represented by radians. SELECTASIN (0.9) FROMBSEMPMS; ATAN () returns the tangent value of the parameter, the argument in radians of the parameter. SELECTATAN (0.9) FROMBSEMPMS; ATAN2 () returns the tangent value of the X and Y coordinates of the angle represented by radians. SELECTATAN2 (0.5,0.9) FROMBSEMPMS; BIGINT () returns the 64 bit integer representation of the number in the integer constant or the string. SELECTBIGINT (EMP_NO) FROMBSEMPMS; CEILING () OR, CEIL () returns the smallest integer value greater than or equal to the parameter. SELECTCEILING (3.56) FROMBSEMPMS; SELECTCEIL (4.67) FROMBSEMPMS; CHAR () returns the string representation of the date, time, string, integer, decimal, or double precision floati

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档