Vendiman interview question

Swap two numbers without using 3rd variable. Write a query to fetch data which contains last words as yyed.