当前位置:网站首页>sqlserver怎么查询一张表中同人员的交叉日期
sqlserver怎么查询一张表中同人员的交叉日期
2022-08-01 09:05:00 【CSDN问答】
问下各位老哥,我现在有一个表userinfo,里面有每个人多段的在职期间,如下图:

我现在想要获取到一个期间重复的人员,比如其中一个人员有两条数据,分别是:
第一条:2022-05-15 到 2022-05-25
第二条:2022-05-20 到 2022-05-30
就需要将他的身份证号获取到。 这样的sql该怎么写呢,求解答
边栏推荐
- navicat mysql 内存占用过高,被强制关闭
- Gethostbyname \ getaddrinfo DNS domain name IP address is not safe
- Do I need to introduce any dependencies to write data to clickhouse using flinksql?
- 优炫数据库支持Oracle哪几种时间及日期类型
- [Interview: Concurrency 39: Multithreading: Thread Pool] ThreadPoolExecutor Class - Submit, Stop
- 云原生FAQ
- 【编程之外】当遮羞布被掀开,当人们开始接受一切
- flink sql-client,怎么处理源端与目标增加端,sql-client包括映射表与JOB如
- leetcode 42. 接雨水
- 网络个各种协议
猜你喜欢

leetcode-6133:分组的最大数量

【编程之外】当遮羞布被掀开,当人们开始接受一切

What do the values 1, 2, and 3 in nodetype mean?

codeforces每日5题(均1600)-第二十七天

类似 MS Project 的项目管理工具有哪些

Leicester Weekly 304 6135. The longest ring in the picture Inward base ring tree
![[Tear AHB-APB Bridge by hand]~ Why aren't the lower two bits of the AHB address bus used to represent the address?](/img/fb/c95c5857024db001638cd484c5e78f.png)
[Tear AHB-APB Bridge by hand]~ Why aren't the lower two bits of the AHB address bus used to represent the address?

22 Grab the Seat 1 C.Grab the Seat (Geometry + Violence)

22牛客多校1 C.Grab the Seat (几何 + 暴力)

HoloView——实时数据
随机推荐
LabVIEW RT中的用户界面更新速度
[Beyond programming] When the fig leaf is lifted, when people begin to accept everything
Analysis of High Availability Solution Based on MySql, Redis, Mq, ES
nodetype中值1、2、3分别代表什么意思
net stop/start mysql80 拒绝访问
解析MySQL数据库:“SQL优化”与“索引优化”
pytest interface automation testing framework | parametrize source code analysis
数据分析5
网络基础学习
Centos install php7.4, build hyperf, forward RDS
Idea 常用插件
类似 MS Project 的项目管理工具有哪些
案例实践 --- Resnet经典卷积神经网络(Mindspore)
Leetcode - 6135: the longest part of the figure
HoloView -- Tabular Datasets
22 Niu Ke Duo School 1 I. Chiitoitsu (Probability dp)
微信小程序请求封装
leetcode 42. 接雨水
SAP ABAP ALV+SMARTFORS 表分页 报表打印程序
华为深度学习课程第六、七章