I\'m trying to refactor some queries to use an index.
The query looks like this:
SELECT dateField,valueField FROM myTable WHERE current_date - dateF