1. A computer-implemented method of creating a data mining model in a database management system comprising: accepting a database language statement at the database management system, the database language statement indicating a dataset and a data mining model to be created from the dataset; and creating, in the database management system, the indicated data mining model using the indicated dataset, wherein creation and application of the data mining model does not require moving data to a separate data mining engine.