I need to search dates in mysql however, if the column type is date it doesn’t work. I need to change to text type is the any way to do it date type
here is my query
SELECT Count(CaseStatus) as CompletedCase From checkfinale where CaseStatus='2' AND CompanyID='51' AND `CompletedDate` BETWEEN '2012-05-29' AND '2012-06-05'
You can also specify dates as simply YYYYMMDD