Problem: I want to select row in MySql based on user supplied month value, checking should go through all the records and check each date coloum by month. I have a table lets say
id int(4), date date
Now I want to retrieve this data using select statement, in the select statement i want to check the date by month not by the whole date because user has suppllied value in month ! whole date.
For example I want to make this kind of query:
select *
from `Table`
where id=123
And date = "value in month"
Many thanks.