SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Rising Temperature

Unsolved

Find the IDs of all weather records where the temperature is strictly higher than the temperature recorded on the immediately preceding calendar day. If a date is missing from the table (a gap), that day has no record and cannot form a valid comparison. Return column `id`, ordered by `id` ascending.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Walmart🏢 Microsoft

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM Weather
Full source dataset
6 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine