oracle 中的round()函数、null值,rownum
round()函数:四舍五入函数
传回一个数值,该数值按照指定精度进行四舍五入运算的结果。
语法:round(number[,decimals])
Number:待处理的函数
Decimals:精度,默认为0;
Select round(123.456,0) as a,round(123.456,1) as b,round(123.456,-1) as c from dual;
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAj8AAAB4CAIAAACSDASdAAANdElEQVR4nO2dPa+kNhtA3e4/eH9mmvS0K227/e2jVKmjnZIqUaIoRZSp3mZLNPf2k8IM4/EXj40BG86RdTVrwDbY+GDjmVX3+vj85etfDkop668VH8dNcJaPj4/PX75+/vL14+PDKolbgEjZIv/0npRbWl2SAQAAHqi9VeXh85evfzoopay/+sP0OYJkHxfTXsKU4+UJbXKPsmKwFwCARaX2+qMC3t/ftb3e399rKMneTQUAoCIqtdfvFWDaq4aS7N1UAAAqolJ7EQgEAoEQCTXaCwAAIA72AgCA9sBeAADQHqO9fvr5FwKBQCAQWglPe+1nUAAAgDSwFwDA6dA/ibB3KRZxXnsp1e1dBBGtlHMJrZxjK+VcQrvn2G7Jd+Gw9lJdNwX/YdGtVeEtp9nQrRpUagyRmGBe6vnBDPJ0vPsc5rZsqy7c8tzXqYtd+pHm6iKSrBGz852yXseY1Eim33ctlWCdeOxlXvp4NeRV0vbOs3K0blHrhrQ+h7Z6cnm9Id2ts4lE8tr9tixFK3Xhlsdb5lLs0o80VBfxZF/jd7tT1u7ZUhvJ2e01c3D79rqH78PInebJ4vWWTjpWkvsZ7HWvqS4ie57BXvf66iKUuBOJvUT7H9Ne99CsghMp3MeMnB1ZT1ut3dxE3A+zuY+R4bs0FCmZ8bu/3qWh6ZGVxl7eyzU7iRFvwWeui2h5ytfF7FTPmetCqc4McyVc8U6ZraBQFXhzF2Zt5e5+MPexjnLS6SL7N4ffXuM23xRiZF7R3UdylDffjJSFud8Fd2moTmfjIze8ZKYl216zpxzITlkfvCmfsy6iiVAXafFF6kKY71614yY1W1/uX2Hukg/zpT22ve6vl9t9TAg90MVbhsR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ACgTqQzh6EVB9pe/y8E9tolWQCA5kiwl1dg2GvLHLEXAIAmzV6uwPLspZRKtZe1aSpPJGbC7fSXpGbt4N0topmyJwIAcE6S7WUJLMNeOpEke7n9u/U5tFVjdfoLU4vHe3MslTX2AgDQ5NjLFNguY694Fy/p9JekFo8P5SjMGnsBAEjItNcksL1mDr2R8gm3JamZWzOm+OJZYy8AAAlNjr1CMaF4ib3yxljyHIVZYy8AAAk7vPcqYq8kz0lWbchTy8tRmDX2AgCQ0OSaQ/nwRSN/7yXZmpdjkayxFwCAJs1eg0P2mkOvwCKqMN8wWdOY3n1MvGsOU1PzmkaY40onAgBwWhLs5aore+wVEdsaJ8m3lQEADobUXiGw15Y5Yi8AAE3QXmv8SvosSqkLRNm1tQAA1EJs7AUAAFAn2AsAANoDewEAQHtgLwAAaI//AI/VO9+kDup2AAAAAElFTkSuQmCC" alt="" />
null值:
NULL值就是没有值或者缺值。允许NULL值的列也允许在插入行时不给出该列的值。不允许NULL值的列不接受该列没有值的行,换句话说,在插入或更新行时,该列必须有值。
每个表列或者是NULL值,或者是NOT NULL列,这种状态在创建时有表的定义规定,如:
CREATE TABLE Orders ( order_num INTEGER NOT NULL, order_date DATETIME NOT NULL, order_id CHAR(10) NOT NULL );
以上语句创建了一个表,改表有3个字段,每个字段被关键字NOT NULL限定,故在插入没有值的列,将会返回错误,且插入失败。
rownum:
rownum只能用于<,如果要用>,可以用一下两者方法实现:
用ROW_NUMBER() OVER():
select areaid from
( select areaid, ROW_NUMBER() OVER( order by areaid ) t
from cumenu ) k
where t > 5;
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAFcCAIAAAArtAzDAAATd0lEQVR4nO3dvZKrOAIGUB5jH9ePcvOpiSbemg4dbbhZR1u3akKXX8AbuJvGIIFAYMnyOUXd4tL8yEB/LbAQ3R9//nUDIKQTkQAxIhIgSkQCRIlIgCgRCRAlIgGiRCRAlIgEiBKRAFEiEiBKRAJErY7I7nS6DwcVaC9d1wUn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SuQmCC" alt="" />
实例化:
select areaid from
( select areaid, rownum r
from cumenu )
where r > 5;
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPEAAAEYCAIAAAAClYegAAAL70lEQVR4nO2dS5KjOBBAObqPUvuJWc0Bupa+RK86ak/0BZgFVRjQB0kkzlTyXhAdNBayDM9yIiXUMP3wz7//TQD9MyxrOA0+wGnwBk6DN3AavIHT4I12p4fHY16kmyTMMAzRjdHtmzKdfEDYcbafbjvlFkTJO22hhdAGTideNdBCaCPp9PLLuz674W9xeO6jZdYbC3/T1+HBsr6LGcIQ4rDAsjHj9O6zhyvhJ40eLlAh5/S+6Or8pYqFZUr2ijRrZfOyEup7uLJbT5WJNCD2tYwWWHTf/Qta5GKPaLcUbgx32XVgkXctOOu73jTT3YYd8xVOpwrgtDWO4+kqOzPn/nDjpkC26z3cgtN3piWeXgeX+TKpLcvGXMtipMpE94oWCMtE3joWT+evHHDaDsy5gDdwGryB0+ANnAZvdOD0MHDJBRVYd/qM0L1M7EWHX/IznZDBtNMiPbTXjBRIgdOSe8mC02107PSds6xSnyifZRX+G/3g4Ur+aKQ+uxZ9O53acocsq317mrKsDlcK50eN2DzTsdNTolsKN4a7hB1YWHNB8za9aaa7jc7er7fs9kpVmGtMwTc8c3DOO13e1Kvp2+nvYrfMsjpscF7TfJkJp68jo3Umng5jwVSZ1JZlY7ZtEVJlontFC8TKFP1eHV45hIFHNBAPj1ve6dro/2qsOz0V99aO4QhU0YHTNweha8Fp8AZOgzdwWhlCC3E6c/pwTqtH0FqWnpx2pvIatBYEp02A04J043Q4CxBOFkzpuYODyoNJkHAlNTOyq2G3ZVcs3QCcFqMbp6dE5ka0QNu8bmol/Ld5Jd0GnBajb6dTBU7mKhQ6HXbMhyvpNuC0GDjd7nR+r3zhYF+cFqMbp6PxdD5rp9Dp6SjTKOr0bq9oRL6rJ/3uCC1JN057BaHFwWnwBk6DN3D6KkqGpeEKcLqR43tPcFqJXp22kMl0pPUwD5PMC7yNXp2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736aiLPQoAacFoGnLaDidgDp0EQE9eI+Xgap6EKnJYBp+1gIp7GaRDERP509KVNKxnLg2JMxB6HTtsHp+2A0zLgtB3IyxND7yTCBrt5eeop0eRPd4rd2ENdU5zuFJzGaW/YHctbG8M9tlCO/pwLz0IAWfSdTr2K09CG3bw8nIY2TPTT0XwPnIY2cBqnvYHTOO0NxvJw2hvMueC0N3Aap71BXp4YeicRNtjNyxOv81Jw2g52Yw+d49EKTtsBp2XAaTuYmBvP3zc+cY8t1KA/53J43zjPQoAq9GMPnAZZlJ1OZZziNDSD0zLgtB1wWgactgNOy4DTdujA6YmxPKhBf9yjxGn74LQdcFoGnLYDeXli6J1E2GA3L089JZr86U6xG3uoa4rTnYLTOO0N7rHFaW/o5+X94VkIIApO47Q3Oog9cBqqoJ/GaW/gNE57A6dx2hsdxNNfjOVBDcy54LQ3cBqnvUFenhh6JxE22M3LE6/zUnDaDnZjD53j0QpO2wGnZcBpO9gdy9u0kntsoRi7cy6vJvIsBKgBp2XAaTvgtAw4bQcT8TROgyAmxj1wGgRR7qdxGsQxEXtEX9q0krE8KMZE7HHotH1w2g44LQNO24G8PDH0TiJssJuXp54STf50p9iNPdQ1xelOwWmc9sZbnd4N23GPLVzB+5ze6cuzEOAi1PppnIaLwGmc9gZO47Q3cBqnvYHTOO2Nd4977FRmLA/EYc4Fp72B0zjtDfLyxNA7ibDBbl6eeJ2XgtN2sBt76ByPVnDaDjgtA07bQTMvL7ol6jT32EI5anl50S1Rp3kWAlTRQT+N01AFTsuA03bAaRlw2g44LQNO2wGnZcBpO9jNy9u0krE8KIY5Fxlw2g44LQNO24G8PDH0TiJssJuXp54STf50p9iNPdQ1xelOwWmc9gbPy8Npb/C8PJz2Bs/3wGlv/A+U27KPMntxJQAAAABJRU5ErkJggg==" alt="" />
---------
本系列为最近一段时间学习oracle的学习笔记,记录于此作为自身回顾,其中有的来的网络,有的来的书籍,但时间已久,记不清哪些是引用,如是转载但没标注出,特意致歉。
oracle 中的round()函数、null值,rownum的更多相关文章
- coalesce函数-返回参数中第一个非null值
coalesce函数-返回参数中第一个非null值 学习了:http://www.cnblogs.com/zc_0101/archive/2009/08/11/1543650.html 这个要复杂一些 ...
- Oracle中的单行函数
Oracle中的单行函数 1 字符函数 UPPER()--将字符串转换为大写 SELECT UPPER('abc') FROM dual; LOWER()-将字符串转换为小写 SELECT LOWER ...
- 创建类似于Oracle中decode的函数
-- 创建类似于Oracle中decode的函数create or replace function decode(variadic p_decode_list text[])returns text ...
- Oracle中的substr()函数 详解及应用
注:本文来源于<Oracle中的substr()函数 详解及应用> 1)substr函数格式 (俗称:字符截取函数) 格式1: substr(string string, int a, ...
- oracle中的greatest 函数和 least函数
oracle中的greatest 函数和 least函数 原文地址:https://blog.csdn.net/sinat_32023305/article/details/78778596 g ...
- oracle中 trunc(),round(),ceil(),floor的使用
oracle中 trunc(),round(),ceil(),floor的使用 原文: http://www.2cto.com/database/201310/248336.html 1.round函 ...
- 问题:oracle nvl;结果:Oracle中的NVL函数
Oracle中的NVL函数 (2012-11-30 13:21:43) 转载▼ 标签: nvl oracle 分类: Oracle Oracle中函数以前介绍的字符串处理,日期函数,数学函数,以及转换 ...
- oracle中的round()方法的用法
[oracle中的round()方法的用法] Round( ) 函数 传回一个数值,该数值是按照指定的小数位元数进行四舍五入运算的结果 oracle一般常用于计算表空间内存还有多少空间 语法 ROUN ...
- Oracle中 Instr 这个函数
http://www.jb51.net/article/42369.htm sql :charindex('字符串',字段)>0 charindex('administrator',MUserI ...
- oracle中创建sequence指定起始值
oracle中创建sequence指定起始值 DECLARE V_Area_Id NUMBER; BEGIN SELECT MAX(T.Area_Id)+10 INTO V_Area_Id FROM ...
随机推荐
- 【BZOJ-2725】故乡的梦 Dijsktra + Tarjan + Dinic + BFS + 堆
2725: [Violet 6]故乡的梦 Time Limit: 20 Sec Memory Limit: 128 MBSubmit: 502 Solved: 173[Submit][Status ...
- macOS 安装 wget
适用于macOS Sierra Apple Store下载安装Xcode 安装Homebrew包管理,类似于Ubuntu下的apt-get: 终端下输入 ruby -e "$(curl -f ...
- java web项目导入到eclipse中变成了java项目的一种情况的解决办法
前提,我把代码上传到github上之后,在另外一台电脑上拉下之后,先报出现的是jre不对,然后换成了当前的jre,然后红色的感叹号消失了但是之前项目上那个小地球不见了,也就是说变成了java项目. - ...
- win7下firefox浏览器不能使用
win7下firefox浏览器不能使用,只有360浏览器才能使用. 使用360安全卫士,到更多工具里面选择"LSP修复",就可以了. 原来是因为安装了土豆加速,然后卸载导致的. 看 ...
- 解析:使用easyui的form提交表单,在IE下出现类似附件下载时提示是否保存的现象
之前开发时遇到的一个问题,使用easyui的form提交表单,在Chrome下时没问题的,但是在IE下出现类似附件下载时提示是否保存的现象. 这里记录一下如何解决的.其实这个现象不光是easyui的f ...
- Guava 集合框架
在本系列中我们首先来学习一些Guava的集合框架,也就是这个package:com.google.common.collect 在这个包下面有一些通用的集合接口和一些相关的类. 集合类型: BiM ...
- C++ essentials 之 static 关键字
extraction from The C++ Programming Language, 4th. edition, Bjarne Stroustrup If no initializer is s ...
- CF 208A Dubstep(简单字符串处理)
题目链接: 传送门 Dubstep Time Limit: 1000MS Memory Limit: 32768 KB Description Vasya works as a DJ in t ...
- K米--案例分析
第三次作业- -K米软件评测 第一部分 调研.评测 评测: 下载并使用.描述最简单直观的个人第一次上手体验: 第一次下载打开.这个简介粗矿的界面让偶着实吓了一跳.界面设计的有板有眼.直接了当.就像是在 ...
- linux认识第一面
一.领域问题: 在客户端领域,windows始终占据了优势地位.而在服务器领域,全球98%的都是在用linux.因为linux作为服务器的载体,便宜又安全. 二.linux是基于内核的编写工具,在li ...