mysql取出两者不一致的数据
来源:互联网 发布:云计算公司排名 编辑:程序博客网 时间:2024/05/17 04:53
select * from basic_crm_channel f where f.CHANNEL_NBR in(
select s.CHANNEL_NBR from (
select CHANNEL_NBR from basic_crm_channel d where d.ORG_ID in(
select store_id from basic_user_store where user_id='MEIRONG')
and d.is_display=0 and d.CHANNEL_CLASS=10 and d.STATUS_CD=1000
) s
left join (
select d.store from patrol_plan d where d.exe_start_time>='2015-07-01' and
d.store in(
select CHANNEL_NBR from basic_crm_channel d where d.ORG_ID in(
select store_id from basic_user_store where user_id='MEIRONG')
and d.is_display=0 and d.CHANNEL_CLASS=10 and d.STATUS_CD=1000)
)x on s.CHANNEL_NBR=x.store where x.store is null )
select s.CHANNEL_NBR from (
select CHANNEL_NBR from basic_crm_channel d where d.ORG_ID in(
select store_id from basic_user_store where user_id='MEIRONG')
and d.is_display=0 and d.CHANNEL_CLASS=10 and d.STATUS_CD=1000
) s
left join (
select d.store from patrol_plan d where d.exe_start_time>='2015-07-01' and
d.store in(
select CHANNEL_NBR from basic_crm_channel d where d.ORG_ID in(
select store_id from basic_user_store where user_id='MEIRONG')
and d.is_display=0 and d.CHANNEL_CLASS=10 and d.STATUS_CD=1000)
)x on s.CHANNEL_NBR=x.store where x.store is null )
0 0
- mysql取出两者不一致的数据
- mysql新旧数据不一致导致的问题
- 为什么HashMap取出的数据顺序和存储时的顺序不一致,如何解决?
- MySQL 查询数据不一致
- MySQL 查询数据不一致
- MySQL 查询数据不一致
- MySQL丢数据及主从数据不一致的场景
- MySQL丢数据及主从数据不一致的场景
- MySQL丢数据及主从数据不一致的场景
- MySQL丢数据及主从数据不一致的场景
- 解决MySQL查询数据不一致
- 转载-mysql怎么取出最新增加的数据
- mysql取出指定id之外的所有数据
- mysql数据库tinyint数据取出0和1的方法
- 处理MYSQL主从库数据不一致的问题【Slave_SQL_Running: No】
- 处理MYSQL主从库数据不一致的问题【Slave_SQL_Running: No】
- mysql主备库数据不一致的原因和解决方案
- [mysql]一次主从数据不一致的问题解决过程
- Destoon cms去掉简历模块系统默认字段必填的限制
- 社説 20150701 骨太方針決定 アベノミクスを深化させよ
- Socket通信之BIO(同步阻塞IO)、PAIO(伪异步阻塞IO)、NIO(异步非阻塞IO)、AIO(异步非阻塞IO)、netty5之IO
- 错误:the image set name is used by multiply image sets
- 如何看:泊松分布???
- mysql取出两者不一致的数据
- 分块法 hdu4858 项目管理
- web.input()与web.data()函数比较
- java线程的生命周期有哪些
- java反射机制
- 实现ppt转pdf的方法
- QWidget: Must construct a QApplication before a QWidget
- [leetcode] 109.Convert Sorted List to Binary Search Tree
- 系统服务(daemons)