Instruction
Alright. Let's do one more exercise in this regard.
Exercise
Find the Code of all the routes that normally depart within 3 hours from the current time.
Stuck? Here's a hint!
To get the current time, you need to cast current timestamp to a TIME data type:
CAST(CURRENT_TIMESTAMP AS TIME)You need to use the
DATEADD() function and use
CAST() to get the
TIME part from it.



