Pregunta de entrevista de Qualcomm

Difference between stored procedure and function in SQL