Table seats(id, student). Swap every pair of neighbours (1↔2, 3↔4, …); the last odd seat stays. Return id and student sorted by id.
seats(id, student)
id
student
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.