I have this query:
SELECT *
From checkfinale
where AssociateID = 51 AND
`CompletedDate` >= '16/04/2012' AND
`CompletedDate` <= '22/06/2012'
ComplitedDate is varchar type. because I am using view. when I am trying to execute it those dates not effecting in condition. Is there any error?
Convert the CompletedDate to date, then exeucute.
So your query goes like this