Autumn Offers - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Dealing with dates
Working with time
Date and time data types in PostgreSQL
Extracting dates and times
Timezone conversion
Format date and time
Current date and time data
46. Current date and time with intervals – additional practice
Summary

Instruction

Great! Let's do one more exercise.

Exercise

Find the code of all the routes which normally depart within three 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'