1. A computer-implemented method for processing a database query, the method comprising: identifying a table, wherein the table comprises information needed in order to resolve the query, and wherein a column in the table is represented using enumeration values and a lookup-table to translate each of the enumeration values into data values for the column; creating a secondary enumeration, wherein a property of the secondary enumeration is semantically equivalent to the property of the data; and creating a mapping from the column's enumeration values to the secondary enumeration; wherein the enumeration values are not semantically equivalent to the property of the data.