Patent Document ID: 8135667
Application ID: 12651086
Patent Flag: 1

Claim One:
1. A method of performing database analytics that facilitates data discretization, comprising: receiving, by a processing module, a query including a selection applied on a first attribute of a base table and a second attribute of the base table, wherein the first attribute comprises numeric values and the second attribute comprises a plurality of discrete values; generating, by the processing module, a contingency table that includes a respective row having an attribute for each numeric value of the first attribute of the base table and a plurality of corresponding attributes for each respective discrete value of the second attribute of the base table, wherein each of the plurality of corresponding attributes store a count of a number of occurrences of one of the discrete values of the second attribute that are identified in a common row of the base table with the numeric value of the first attribute of the base table; identifying adjacent rows of the contingency table suitable to be merged based on an evaluation of similarities between the plurality of corresponding attributes of the contingency table; and assigning a discretized value to the numeric value of the contingency table.