1. A computer-implemented method, comprising steps of: a database management system computing a database language statement that includes a reference that references a table function defined by an interface definition, the reference specifying, according to the interface definition, a dataset and a data mining model to be created from the dataset; wherein said interface definition defines a schema for rows returned by said table function, said schema comprising columns; wherein said database management system computing the database language statement comprises said database management system computing the table function, wherein said database management system computing the table function comprises the table function generating particular rows that represent the data mining model, wherein said particular rows are generated to conform to the schema defined by the interface definition.