Is is possible to construct a SELECT
statement that contains a WHERE
clause that uses the value from a column in the "next" row?
I have a date and time field date_entered.
ie. given a table with a field named "date_entered" with the
following values I want a SELECT statement that selects the rows
"WHERE date_entered>='current_date' and date_entered<=[NEXT ROW]date_entered
"
I tried Post but not found what I am looking at.