unnested
Explore
Pro
Sign in
Learn SQL
Date Functions
Pro
12 questions
Unlock all 12 questions with a Pro subscription.
Upgrade to Pro
Output
Easy
Which field does EXTRACT pull?
Multiple choice
Easy
Getting the current date and time
Output
Easy
Off-by-one trap: subtracting dates
Output
Easy
7 days forward - where do you land?
Multiple choice
Easy
NOW() vs CURRENT_TIMESTAMP
Output
Easy
Zero-padded or raw number?
Output
Medium
Which rows survive the date window?
Output
Medium
What does DATE_TRUNC do to the time?
Output
Medium
Monthly rollup - spot the key column
Multiple choice
Hard
Full years from a birthdate - which expression works?
Multiple choice
Hard
TIMESTAMP vs TIMESTAMPTZ
Multiple choice
Hard
Which January filter won't miss late-night rows?