Cognizant interview question

Coding Questions - Maximum length word in given string , SQL query to find 3rd third highest salary