This video explains creating multi-line table valued function which returns a table defined by the function itself.