Z2Data Interview Question

function vs stored procedure ?