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

我现在想要获取到一个期间重复的人员,比如其中一个人员有两条数据,分别是:
第一条:2022-05-15 到 2022-05-25
第二条:2022-05-20 到 2022-05-30
就需要将他的身份证号获取到。 这样的sql该怎么写呢,求解答
边栏推荐
- Graduation thesis writing skills
- Case practice --- Resnet classic convolutional neural network (Mindspore)
- How to get page data
- HoloView——实时数据
- Chapter 9 of Huawei Deep Learning Course - Convolutional Neural Network and Case Practice
- Holoview--Introduction
- sql server, FULL模式, dbcc shrinkfile(2,1) 不能收缩事务日志,还是原来的大小,是为什么?
- [Tear AHB-APB Bridge by hand]~ Why aren't the lower two bits of the AHB address bus used to represent the address?
- Idea 常用插件
- SkiaSharp 之 WPF 自绘 五环弹动球(案例版)
猜你喜欢
随机推荐
最新的Cesium和Three的整合方法(附完整代码)
leetcode-6133: maximum number of groupings
leetcode-6133:分组的最大数量
数据分析6
Parsing MySQL Databases: "SQL Optimization" vs. "Index Optimization"
Analysis of High Availability Solution Based on MySql, Redis, Mq, ES
七夕来袭——属于程序员的浪漫
pytest接口自动化测试框架 | parametrize源码解析
微服务:事务管理
Microsoft Azure & NVIDIA IoT developers season I | Azure IoT & NVIDIA Jetson development foundation
巧妙利用unbuffer实时写入
Ogg synchronizes oracle to mysql, there may be characters that need to be escaped in the field, how to configure escape?
Is the real database data of TiDB stored in kv and pd?
正则表达式符号
USB Protocol (2) Terminology
【数据集】各类绝缘子、鸟巢及防震锤数据集汇总
Redis中间件(从搭建到弃坑)
【手撕AHB-APB Bridge】~ AHB地址总线的低两位为什么不用来表示地址呢?
华为深度学习课程第六、七章
22牛客多校1 J.Serval and Essay (启发式合并)









