1. A method of improving a query of a relational database, the method comprising: providing a table T in the database, the table T having X number of columns and Y number of rows; generating a sampling column having Y cells, wherein each cell includes a sampling value for each of the Y rows in the table T; and appending the sampling column to the table T in the database.