1. A computer automated method of aggregating data, the method comprising the steps of: inputting a set of user-defined instructions into a computer database system; inputting a user query including data attributes into the computer database system; mining the computer database system for data relevant to the user query; creating a data set comprising the data relevant to the user query; and aggregating data in the data set using domain metrics selected based on any of predefined and configurable rules and past user usage, wherein the aggregation comprises: tagging all data attributes in the data set based on database metadata and inputs from a user, wherein the data attributes comprise any of data identifications (IDs), data grouping attributes, and data measure attributes, wherein the tagging process comprises inputting the user query, the database metadata for the data attributes in the user query, and attributes specifications; and reducing the number of the tagged data attributes in the data set by logically eliminating data attributes; wherein for each of the data attributes in the user query, the tagging process comprises tagging the data attribute as a grouping attribute when the data attribute is to be treated as a grouping attribute based on inputs to any of the computer database system and the database metadata; and wherein when the data attribute comprises a grouping attribute and has a number of unique values less than the maximum numbers of unique values allowed to select a database attribute as a grouping attribute, the tagging process comprises tagging the data attribute as a grouping attribute.
1. A computer automated method of aggregating data, the method comprising the steps of: inputting a set of user-defined instructions into a computer database system; inputting a user query including data attributes into the computer database system; mining the computer database system for data relevant to the user query; creating a data set comprising the data relevant to the user query; and aggregating data in the data set using domain metrics selected based on any of predefined and configurable rules and past user usage, wherein the aggregation comprises: tagging all data attributes in the data set based on database metadata and inputs from a user, wherein the data attributes comprise any of data identifications (IDs), data grouping attributes, and data measure attributes, wherein the tagging process comprises inputting the user query, the database metadata for the data attributes in the user query, and attributes specifications; and reducing the number of the tagged data attributes in the data set by logically eliminating data attributes; wherein for each of the data attributes in the user query, the tagging process comprises tagging the data attribute as a grouping attribute when the data attribute is to be treated as a grouping attribute based on inputs to any of the computer database system and the database metadata; and wherein when the data attribute comprises a grouping attribute and has a number of unique values less than the maximum numbers of unique values allowed to select a database attribute as a grouping attribute, the tagging process comprises tagging the data attribute as a grouping attribute. 2. The method of claim 1 , wherein the set of user-defined instructions comprises: a structured query language (SQL) data format for processing the set of user-defined instructions; database metadata associated with the data attributes of the computer database system; and user input instructions identifying instructions of how an attribute is to be grouped.