I have orders table in which orders are stored based on order received datetime(timestamp).
Now, I want only the orders between 2 dates, and that too, for everyday in those dates, between 2 and 4 PM only.
How can I achieve this, preferably in a single SQL query?