因此,只需对连接进行条件调整,以使左侧始终等于或小于左侧!
select a.Id L,b.id R into #cross from MyTable ainner join mytable b on a.id <= b.id
上一篇 如何在SQL中填充日期和时间
下一篇 我在addCase中指定什么``类型''以返回列?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号