Dates & Time SQL interview questions

Date handling differs between engines. These problems use SQLite's strftime, date() modifiers and julianday(), and each explanation notes the Postgres or BigQuery equivalent.