Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Dates
Time
Timestamps
Extract functions
Timezone conversion
Current date and time
38. Current date & time with intervals – additional practice
Review

Instruction

All right! Let's do one more exercise on this topic.

Exercise

Find the code of all the routes which normally depart within 3 hours from the current time.

Stuck? Here's a hint!

The interval you're looking for is:

BETWEEN CURRENT_TIME AND CURRENT_TIME + INTERVAL '3' HOUR