How adding some values in join works?

前端 未结 0 1098
鱼传尺愫
鱼传尺愫 2021-01-07 10:19

I have Following query

select a.id as \'as\',b.id as \'b\',a.student,b.student from seat a left join seat b on a.id+ case when a.id%2=0 then -1 else 1 end = b.id

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