当前位置:网站首页>Oracle uses an SQL to find out which data is not in a table
Oracle uses an SQL to find out which data is not in a table
2022-06-27 08:25:00 【Yabingshi】
Ideas : Convert these data strings into multiline records , Then compare .
Refer to the :oracle How to convert a string to multiple lines _ Yabingshi's blog -CSDN Blog
# Find out SMITH,jiao,zhangsan,lisi Which of these people are not there scott.emp in
select * from(
with a as
(
select ',SMITH,jiao,zhangsan,lisi' name
from dual
)
select regexp_substr(name,'[^,]+',1,rownum) name
from a
connect by rownum<=length(regexp_replace(name,'[^,]+'))
)
where name not in (select ename from scott.emp)

边栏推荐
- June 26, 2022 (LC 6100 counts the number of ways to place houses)
- Etcd tutorial - Chapter 5 etcd etcdctl usage
- Analysis log log
- Game asset reuse: a new way to find required game assets faster
- VIM from dislike to dependence (20) -- global command
- 野風藥業IPO被終止:曾擬募資5.4億 實控人俞蘠曾進行P2P投資
- All tutor information on one page
- [batch dos-cmd command - summary and summary] - map folder to virtual disk - subst
- Redis五种基本类型
- The 6th Blue Bridge Cup
猜你喜欢

0号进程,1号进程,2号进程

Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?

Lvgl GUI guide porting code to stm32

Five basic types of redis

Lvgl usage demo and instructions 2

oracle怎样将字符串转为多行

正确的理解MySQL的MVCC

L'introduction en bourse de Wild Wind Pharmaceutical a pris fin: Yu pinzeng, qui avait l'intention de lever 540 millions de RMB, a effectué un investissement P2P.

【c ++ primer 笔记】第4章 表达式

webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint
随机推荐
Etcd教程 — 第五章 Etcd之etcdctl的使用
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
MySQL lock details
2022.6.26-----leetcode. seven hundred and ten
【批处理DOS-CMD命令-汇总和小结】-环境变量、路径变量、搜索文件位置相关指令——set、path、where,cmd命令的路径参数中有空格怎么办
UE5神通--POI解决方案
Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
JVM常见的垃圾收集器
If xn > 0 and X (n+1) /xn > 1-1/n (n=1,2,...), Prove that the series Σ xn diverges
Closure problem
[daily practice] realization of product card animation effect
oracle怎样将字符串转为多行
webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint
MySQL环境变量配置的教程
【c ++ primer 笔记】第3章 字符串、向量和数组
Pin details in rust
Recognize the ordering of O (nlogn)
SPARQL basic introductory exercise
Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?
浏览器的markdown插件显示不了图片