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; and evaluating the query, wherein the step of evaluating the query comprises: executing one or more processing steps, wherein the processing steps comprise operations on the data values; determining if the enumeration values can be used instead of the data values; and utilizing the enumeration values instead of the data values in at least one of the one or more processing steps, if it is determined that the enumeration values can be used instead of the data values.