1. A method for providing nesting Structured Query Language (SQL) functions, comprising the steps of: (a) calling a first SQL function; (b) processing a first result table for the first SQL function; (c) determining that the first result able comprises a second SQL function; (d) calling the second SQL function; (e) processing a second result table of the second SQL function; (f) returning a result for the second SQL function; (g) resuming processing of the first result table; and (h) returning a result for the first SQL function.