10. A computer readable storage medium having stored thereon computer-executable modules for generating a prediction query, the modules comprising: computer executable code for electronically displaying a first user interface area adapted to display a mining model and receive inputs matching a mining model to an input table; computer executable code for in response to a user input, electronically displaying a second user interface area adapted to display mining models and receive a selection of a mining model; computer executable code for receiving a selection of a mining model in the second user interface area and displaying the selected model in the first user interface area; computer executable code for electronically displaying a third user interface area, the third user interface area adapted to display a database schema and receive an input matching an input table displayed in the third user interface area with a mining model displayed in the first user interface area; computer executable code for building a relationship between said at least one input table by joining columns between input tables; computer executable code for receiving in the first user interface area and the third user interface area an input of at least one line segment between at least one column of the mining model and at least one column of the at least one input table; computer executable code for, in response to said joining, automatically generating a prediction query; and computer executable code for automatically displaying a mapping between an element from a model of said at least one mining model and an element from a table of said at least one input table, when the elements have same name.
10. A computer readable storage medium having stored thereon computer-executable modules for generating a prediction query, the modules comprising: computer executable code for electronically displaying a first user interface area adapted to display a mining model and receive inputs matching a mining model to an input table; computer executable code for in response to a user input, electronically displaying a second user interface area adapted to display mining models and receive a selection of a mining model; computer executable code for receiving a selection of a mining model in the second user interface area and displaying the selected model in the first user interface area; computer executable code for electronically displaying a third user interface area, the third user interface area adapted to display a database schema and receive an input matching an input table displayed in the third user interface area with a mining model displayed in the first user interface area; computer executable code for building a relationship between said at least one input table by joining columns between input tables; computer executable code for receiving in the first user interface area and the third user interface area an input of at least one line segment between at least one column of the mining model and at least one column of the at least one input table; computer executable code for, in response to said joining, automatically generating a prediction query; and computer executable code for automatically displaying a mapping between an element from a model of said at least one mining model and an element from a table of said at least one input table, when the elements have same name. 13. The computer readable storage medium according to claim 10 , further comprising: a displaying component for displaying a table column mapping area and a selection grid area.