CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Time Series Analysis in PostgreSQL

Afficher le cours

Instructions

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

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

-- Select the name and utc_offset
SELECT name, ___
FROM ___
-- Filter for offsets between +5:30 and +5:45 hours
WHERE ___
ORDER BY name;
Modifier et exécuter le code