Get startedGet started for free

Find the time zones

You can expect to utilize your data analysis skills to help developers diagnose code issues.

In this scenario, you are on a web browser development team investigating a bug. The issue is made more challenging because many users do not provide location. However, it is possible to segment users by time zone. Bug reports indicate that the issue affects users residing in time zones with a UTC offset between +5:30 and +5:45; moreover, the affected time zone is thought to have either a 30- or 45-minute offset.

The team lead wants you to provide the names and UTC offsets of the potentially affected time zones.

This exercise is part of the course

Time Series Analysis in PostgreSQL

View Course

Exercise instructions

  • Retrieve the name and utc_offset of time zones having a UTC offset between +5:30 and +5:45 hours, ordered by name.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

-- Select the name and utc_offset
SELECT name, ___
FROM ___
-- Filter for offsets between +5:30 and +5:45 hours
WHERE ___
ORDER BY name;
Edit and Run Code