Pregunta de entrevista de Wipro

Store procedure, Function and join question in SQL