Check out example codes for "execute table valued function in sql". It will help you in understanding the concepts better.

Code Example 1

SELECT 
    * 
FROM 
    udfProductInYear(2017);

Learn ReactJs, React Native from akashmittal.com