this is a simplified version of what I was trying to search, but it is not working either.
SELECT * FROM WJ07LG4.appointments WHERE \'2020-DECEMBER-5 20:30:00\' <=