当前位置:网站首页>sqlserver怎么查询一张表中同人员的交叉日期
sqlserver怎么查询一张表中同人员的交叉日期
2022-08-01 09:05:00 【CSDN问答】
问下各位老哥,我现在有一个表userinfo,里面有每个人多段的在职期间,如下图:
我现在想要获取到一个期间重复的人员,比如其中一个人员有两条数据,分别是:
第一条:2022-05-15 到 2022-05-25
第二条:2022-05-20 到 2022-05-30
就需要将他的身份证号获取到。 这样的sql该怎么写呢,求解答
边栏推荐
- 22牛客多校1 I. Chiitoitsu (概率dp)
- 在GBase 8c数据库后台,使用什么样的命令来对gtm、dn节点进行主备切换的操作
- centos 安装php7.4,搭建hyperf,转发RDS
- Pod environment variables and initContainer
- 22 Grab the Seat 1 C.Grab the Seat (Geometry + Violence)
- [Tear AHB-APB Bridge by hand]~ Why aren't the lower two bits of the AHB address bus used to represent the address?
- 静态Pod、Pod创建流程、容器资源限制
- HoloView--live data
- Shell执行SQL发邮件
- HPC系统简介
猜你喜欢
随机推荐
pytest interface automation testing framework | parametrize source code analysis
将aof文件转换为命令waoffle安装和使用
22 Niu Ke Duo School 1 I. Chiitoitsu (Probability dp)
HoloView -- Tabular Datasets
小程序全面屏手势配置案例
Detailed explanation of JVM runtime data area and JMM memory model
leetcode 42. 接雨水
22牛客多校1 I. Chiitoitsu (概率dp)
好的plm软件有哪些?plm软件排行榜
179. 最大数
[Dataset] Dataset summary of various insulators, bird's nests and anti-vibration hammers
2022杭电中超杯(1)个人题解
Ogg synchronizes oracle to mysql, there may be characters that need to be escaped in the field, how to configure escape?
Flink SQL - client, how to deal with the source side and to increase the target, the SQL - client including mapping table and the JOB such as
请问用flinksql写入数据到clickhouse需要引入什么依赖吗?
【MySQL】操作表DML相关语句
SaaS安全认证综合指南
巧妙利用unbuffer实时写入
pytest接口自动化测试框架 | 使用函数返回值的形式传入参数值
Chapters 6 and 7 of Huawei Deep Learning Course