Compare many to many and many to one and one to many records in same table - SQL Server

前端 未结 0 1929
情歌与酒
情歌与酒 2021-01-11 09:37

NEXT_MBR_ID is the same as PREV_MBR_ID. I need to compare NEXT_MAJOR_CD to PREV_MAJOR_CD.

I tried to comapare as below:

Select m.*,
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题