Pregunta de entrevista de Cognizant

oops,java,sql,one coding question,dbmsmostly ask questions related to Java and two question related to SQL1 is query and one is theoretical question and basic of oops and asked one coding question related to Java an SQL query is find the second highest salary in employee table