Pergunta de entrevista da empresa Alluma (CA)

What is the difference between function and stored procedure.