博客
关于我
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/

你可能感兴趣的文章
python3.2批量查询IP地址区域
查看>>
Python3.5中协程和未来/任务之间的区别?
查看>>
python3.5实现socket通讯(TCP)
查看>>
python3.6 ubuntu部署nginx、 uwsgi、 django
查看>>
Python3.6.3中,functools似乎不能用
查看>>
python3.6.5+cuda9+cudnn7.1+win10+tensorflow-gpu1.9.0下载配置
查看>>
python3.6使用pickle序列化class
查看>>
python3.6入门到高阶(全栈) day027 网络通信协议 osi七层模型
查看>>
Python3.6属性错误:模块‘;异步没有属性‘;运行‘;
查看>>
python3.6版本中的python-weka-wrapper安装失败,错误代码为%1
查看>>
Python3.7安装cv2踩过的坑
查看>>
python写txt文件
查看>>
python关于sorted排序函数详细解析 附实战代码(全)
查看>>
python3.8调用m文件,调用matlab
查看>>
python3.9新特性_Python 3.9 新特性速览
查看>>
Python3.x:遍历select下拉框获取value值
查看>>
python360百科_11月编程排行榜:Python超过Java成第二
查看>>
Python关于Paginator分页函数详细解析 附实战代码
查看>>
python3、ipython3、setup-tools、pip等环境搭建详细总结
查看>>
python3下使用cv2.imwrite存储带有中文路径图片或者绝对路径图片
查看>>