oracle关联查询union all 讲解
来源:互联网 发布:软件压力测试题 编辑:程序博客网 时间:2024/06/05 23:48
1、SELECT t.recid,t.szdq1,t.szdq2,t.f_nb_zjly_fsgzl1,t.f_nb_zjly_fsgzl2 FROM B_JH_ZIJLY T where t.szdq1 is NOT NULL
2、select t.recid as recid,t.szdq1 as szdq,t.f_nb_zjly_fsgzl1 as f_nb_zjly_fsgzl from B_JH_ZIJLY T where t.recid = '123DC7C4FA95E76BD9F76E16079B4F43'
union all
select t.recid as recid,t.szdq2 as szdq,t.f_nb_zjly_fsgzl2 as f_nb_zjly_fsgzl from B_JH_ZIJLY T where t.recid = '123DC7C4FA95E76BD9F76E16079B4F43'
3、select t.szdq1 as szdq,t.f_nb_zjly_fsgzl1 as f_nb_zjly_fsgzl from B_JH_ZIJLY T where t.recid = '123DC7C4FA95E76BD9F76E16079B4F43'
union all
select t.szdq2 as szdq,t.f_nb_zjly_fsgzl2 as f_nb_zjly_fsgzl from B_JH_ZIJLY T where t.recid = '123DC7C4FA95E76BD9F76E16079B4F43'
0 0
- oracle关联查询union all 讲解
- Oracle union union all
- Oracle 合并查询union、union all、intersect和minus
- oracle中union和union all的查询速度
- Oracle Union Union All 使用方法
- oracle union union all 区别
- Oracle UNION ALL替换UNION
- Oracle Union Union All 使用方法
- Oracle中的Union、Union All
- Oracle Union Union All 使用方法
- oracle Union 与 union all
- oracle union 与 union all
- oracle中or查询慢,最好使用union all代替
- Oracle 之Union all
- Oracle UNION ALL
- Oracle sql union all
- oracle union all
- Mysql联合查询UNION和UNION ALL的使用介绍 可以查询出多张没有关联关系的表的数据
- Android之运行的错误:java.lang.UnsatisfiedLinkError: Couldn't find cibloger.so
- 开博客了
- 开博客了
- 开博客了
- java 中try catch finally执行顺序
- oracle关联查询union all 讲解
- Universal-Image-Loader源码阅读(36)-LoadAndDisplayImageTask
- 开博客了
- 开博客了
- Maven - 概述
- css3中的content字图片处理background
- 如何解决gcc版本冲突?
- 开博客了
- 如何查看Mac电脑的处理器核心数目-CPU的核心数目