I can't to solve my problem anymore, please , I am looking to make a selection but only if the date is lower than 11/05/1990 must take 01/01/2000 and make the selection
select (date, champ1 , champ2, champ3,
CASE
when (a.date <'1990-05-11') then (a.date ='2000-01-01')
else a.date
END as a.date
from table a
YYYY-MM-DD. BTW what's the type ofa.date? YOu won't be able to perform range queries at all if it contains localized strings'11/05/1990'comes after'01/01/2000'- never mind the ambiguity between eg November 5th vs May 11th. You can only perform range queries if all strings follow a sortable format likeYYYY-MM-DD. It's far faster, easier and safer though to usedate