IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Time Series Analysis in PostgreSQL

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Select the name and utc_offset
SELECT name, ___
FROM ___
-- Filter for offsets between +5:30 and +5:45 hours
WHERE ___
ORDER BY name;
Modifica ed esegui il codice