Data Mining Extensions (DMX) is a query language for data mining models supported by Microsoft's SQL Server Analysis Services product.[1]
Like SQL, it supports a data definition language (DDL), data manipulation language (DML) and a data query language (DQL), all three with SQL-like syntax. Whereas SQL statements operate on relational tables, DMX statements operate on data mining models. Similarly, Microsoft SQL Server supports the MDX language for OLAP databases. DMX is used to create and train data mining models, and to browse, manage, and predict against them. DMX is composed of data definition language (DDL) statements, data manipulation language (DML) statements, and functions and operators.
DMX Queries are formulated using the SELECT
statement.They can extract information from existing data mining models in various ways.
The data definition language (DDL) part of DMX can be used to
CREATE MINING STRUCTURE, CREATE MINING MODEL
DROP MINING STRUCTURE, DROP MINING MODEL
EXPORT, IMPORT
SELECT INTO
The data manipulation language (DML) part of DMX can be used to
INSERT INTO
SELECT FROM
SELECT ... FROM PREDICTION JOIN
This example is a singleton prediction query, which predicts for the given customer whether she will be interested in home loan products.