Pregunta de entrevista de Infosys

Asked to write program based on arrays and asked SQL questions.