NetApp Interview Question

reverse a linked list. some sql query