Pergunta de entrevista da empresa Qualcomm

Difference between stored procedure and function in SQL