I have a table with date column in it. I need to fetch the records from it based on the given date.
Currently when i used the query:
select * from workingemployee_data where created_date like '20-Jan-2012'
I am getting those records which have created_date on 20-Jan-2012
But i want to get the records those were created 10 days earlier to a given date (i.e) 20-Jan-2012.
Please suggest me on this.
created_date?likedoes not make any sense for a DATE