I'm trying to create a query where I select the items from yesterday at 9:00 am until today 9:00 am. Is there any way to do it without needing to put the yesterday's date and today's date?
Something like this:
SELECT title
FROM table_name
WHERE date >= YESTERDAY(9:00:00)
AND date <= TODAY(9:00:00);