Oracle SQL query by date

Original text of this message