博客
关于我
Excel 2010 SQL应用057 SQL中使用取整函数
阅读量:192 次
发布时间:2019-02-28

本文共 665 字,大约阅读时间需要 2 分钟。

????

??????????????????????

?? ??
??? 22
?? 12
?? 5
??? 15
??? 27
?? 26
?? 22
????????? 29
???? 12
?? 21
??? 6
???? 11
????? 18
?????? 12
?? 7
????? 19
?? 18
?? 23
?????? 5
?????? 27
?? 11
????? 28
?? 4
???? 19
12V????? 8
??? 19
??? 16
?? 7
??? 12
?? 29

?????

??INT????????????????????SQL?????

SELECT ??, ??, INT(??/8) AS ?????? FROM [sheet1$]

INT?????

INT???????????????????????????

INT(??/8)

?????18??18/8=2.25?INT?????2?

?????

??FIX????????????????????SQL?????

SELECT ??, ??, FIX(??/8) AS ?????? FROM [sheet1$]

FIX?????

FIX???INT?????????????????????????INT?FIX???????????????

FIX(18/8) = FIX(2.25) = 2

??????

INT(-2.25) = -3FIX(-2.25) = -2

?????INT??FIX????????

转载地址:http://gggn.baihongyu.com/

你可能感兴趣的文章
Python中*args和**kwargs的使用
查看>>
python中0、1、True、False、if条件
查看>>
python中argparse模块关于 parse_args() 函数详解(全)
查看>>
python中base64编码与解码
查看>>
python中break怎么用_详解Python中break语句的用法
查看>>
python中del函数的垃圾回收
查看>>
Python中DrissionPage的详细解析与实战
查看>>
python中enumerate、变量类型转换
查看>>
python中execute是啥_python – 为什么“c.execute(…)”打破循环?
查看>>
python中exit和break区别_Python中exit()和sys.exit()之间的区别
查看>>
python中h5的用法
查看>>
python中http协议编程_HTTP编程
查看>>
python中if的效率_python中关于if-else使用性能的一点感悟
查看>>
python中import os_Python:相对导入与绝对导入(import)、os.path、__file__
查看>>
python中is和==操作符
查看>>
python中range()函数的返回值是多少?
查看>>
Python中range对象的使用以及打印九九乘法表
查看>>
Python中reshape函数参数-1的意思?
查看>>
Python中set.discard和set.remove方法之间的运行时差异?
查看>>
Python接口自动化测试企业级实战
查看>>