In my database I have a table in which one of the columns is storing joining_months
in string format like January, February, March....(and so on).
Now I want to run a SQL query on this table to fetch those rows only in which joining month is before or after a user specified month.
Something like:
select * from table1 where joining_month >or< 'March'
How can I compare the months stored in string format like this?
Please help !