SQLDAXExcelPython
Leaderboard
Interview classicsMedium20 points

Join on a date window

Return SaleId and ReturnDate for returns that came within 7 days of the ShipDate of the sale.

Show solutionLifetime

Runs in your browser with DuckDB, whose SQL is close to PostgreSQL. Nothing you type is sent to a server unless you save a score.

SQLselect text to run only that part
Loading editor…

Press Ctrl+Enter or Run to see the result here.