Deloitte interview question

Interview started with Introduction followed by two coding questions , first is swap two nos. without using third variable and second is to sort the array in decending order. At last there were question from sql that I have mentioned in my resume.