List pairs of students in the same class who also live in the same city, as first and second (names), smaller student_id first.
first
second
student_id
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.