A stored function is a defined function that is called from within an SQL statement like a regular function, and returns a single value.