Though research in the area of Knowledge Discovery in Databases has increased considerably in recent years, few studies for integrating data mining tasks into the SQL language have been proposed. In this paper the SQL language is extended with new primitives that efficiently support the data mining classification task into the Relational Database Management System (RDBMS) engine. .