I have a database, let's call it "mydb". The database "mydb", there is a table "mytable". In the table "mytable", three fields: text (type char), start_date (type DATE) and end_date (type DATE).
I want to make a selection for a specific date range from start_date to end_date. But I would want that sampling was only days and months, not including the year! How can this be done?
Particularly interested in the question how to make a selection between:
23.12 - 01.01
If I enter 01/01/2013, this date must fall within a range!
I use PostgreSQL.