I have a mysql query where I am trying to use a string in the where clause.
select s.schedule_date
from schedule s
WHERE DATE(s.schedule_date) = '2022-06-04'
and it does not work.
I have also tried
s.schedule_date = '2022-06-04'
DATE(s.schedule_date) = DATE('2022-06-04')
But nothing seems to work. Most articles I have seen say the where in the SQL example should work.

select
s.schedule_date,DATEDIFF(s.schedule_date,"2022-06-04")
from
schedule s
WHERE
s.schedule_date >= "2022-06-03" and
s.schedule_date <= "2022-06-05";


