The Two Clocks at the Door

The Two Clocks at the Door

The station gate records every visit twice: local_at on the colony’s local clock and logged_ts in the archive’s universal time. For each visit output visit_id, colonist, the local hour as local_hour and the archive hour as utc_hour. Order by visit_id and see how far the hands diverge.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables. Your answer must use the same column names as this sample — alias them with AS if needed.

visit_idcolonistlocal_hourutc_hour
1Ryzhy127
2Sfinks2318
3Ryzhy83
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid