问题描述
解决方案
select a.idnum, a.year, a.month, b.month, c.month
from 表一 a,表一 b, 表一 c
where a.idnum=b.idnum
and a.idnum=b.idnum
and a.month=1
and b.month=2
and c.month=3
时间: 2024-09-11 02:43:02
select a.idnum, a.year, a.month, b.month, c.month
from 表一 a,表一 b, 表一 c
where a.idnum=b.idnum
and a.idnum=b.idnum
and a.month=1
and b.month=2
and c.month=3