码迷,mamicode.com
首页 >  
搜索关键字:nvl    ( 398个结果
【ocp-12c】最新Oracle OCP-071考试题库(39题)
39.choose the best answer View the Exhibit and examine the description of the EMPLOYEES table. You want to calculate the total remuneration for each e ...
分类:数据库   时间:2019-02-26 16:53:37    阅读次数:206
【OCP-12c】CUUG 071题库考试原题及答案解析(24)
choosethebestanswerIntheEMPLOYEEStablethereare1000rowsandemployeesareworkinginthecompanyformorethan10years.EvaluatethefollowingSQLstatement:SQL>UPDATEemployeesSETsalary=NVL(salary,0)+NVL(comm,0),co
分类:其他好文   时间:2019-02-20 18:36:19    阅读次数:176
易飞 取消库位规格书
<!-- flowchart 箭头图标 勿删 --> 程序代号: CMSB07 程序名称: 取消库位管理 Parent Class: 系统分析代号: 信息文件:BOMTD (R/W) 组合单单头 BOMTE (R/W) 组合单单身 BOMTF (R/W) 拆解单单头 BOMTG (R/W) 拆解单单 ...
分类:其他好文   时间:2019-01-30 22:18:06    阅读次数:167
字段中有空的时候 进行逻辑运算,mysql 与 oracle 处理函数IFNULL() 与 nvl() ,选取NULL 值 。
mySQL数据库: SELECT id_p,IFNULL(math,0)+IFNULL(english,0) 总分 from mytest_brian1 Oracle 数据库: select id_p , nvl(address,0)* age from Persons2 ; 选取在 "Addres ...
分类:数据库   时间:2019-01-21 19:15:43    阅读次数:430
oracle表空间到32G后扩容
/*查看表空间物理文件的名称及大小*/SELECT tablespace_name,file_id,file_name,round(bytes / (1024 * 1024), 0) total_space FROM dba_data_files ORDER BY tablespace_name; ... ...
分类:数据库   时间:2019-01-14 14:40:46    阅读次数:469
数据库学习(四)with as (补充 nvl 和 count 函数)
with as 的专业解释我这就不详细说明了,我这就梳理下我自己的实践应用,就是根据某个条件查询出结果集放在一个临时表里面,可以创建多个临时表,然后再从这些临时表中查询出要的数据。 参考资料:https://www.cnblogs.com/Niko12230/p/5945133.html http: ...
分类:数据库   时间:2019-01-03 19:28:19    阅读次数:189
hive长句
"select 大区, 配送中心, nvl(洗衣机,'_') 洗衣机, nvl(冰箱,'_') 冰箱, nvl(电热水器,'_') 电热水器, ... ...
分类:其他好文   时间:2018-12-21 20:20:21    阅读次数:169
oracle优化技巧及实例(总结)
1.关于exists和in in是循环的方式,在内存中处理, exists是执行数据库查询, select tpd.personaccountid,sum(nvl(tpd.CREDIT_SUM, 0)) as bjsr, sum(nvl(tpd.INTEREST_INCOME, 0)) as bjs ...
分类:数据库   时间:2018-12-14 19:41:27    阅读次数:185
Oracle的nvl函数和nvl2函数
一、基本语法 介绍一下oracle的nvl函数和nvl2函数。 nvl函数 nvl函数基本语法为nvl(E1,E2),意思是E1为null就返回E2,不为null就返回E1。 nvl2函数 nvl2函数的是nvl函数的拓展,基本语法为nvl2(E1,E2,E3),意思是E1为null,就返回E3,不 ...
分类:数据库   时间:2018-12-14 01:07:48    阅读次数:239
Oracle null判断并替换空值
可用 NVL(), IFNULL() ,COALESCE(),DECODE() 函数 1.NVL() 从两个表达式返回一个非 null 值。语法NVL(eExpression1, eExpression2)参数eExpression1, eExpression2 如果 eExpression1 的计 ...
分类:数据库   时间:2018-12-12 11:21:59    阅读次数:302
398条   上一页 1 ... 5 6 7 8 9 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!