阅读背景:

leetcode-换座位

来源:互联网 
# Write your MySQL query statement belo
select (case
    when mod(id,2) = 1 and id != (select count(*) from seat) then id+1
    when mod(id,2) = 0 then id-1
    when mod(id,2) = 1 and id=(select count(*) from seat) then id end
) as id,student from seat order by id# Write your MySQL query statement bel



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: