One of my students asked me this question of swapping of first rows ename with last rows ename.
This is very simple if you know CASE conditional expression.
Check the select statement below,
Using the same logic using CASE in update statement,
Comments