Keep SQLtest alive: Help cover this month's $100 server costs to keep all lessons and the SQL playground online. Support the project →
SQL code copied to buffer
Task 139:

First and Last Dates of Week

MySQL
Retrieve the first (Monday) and last (Sunday) dates of the current week and display them in a table with columns last_monday and next_sunday.
Expected result Columns: 2 · Rows: 1
last_monday next_sunday

Write your query below and click "Check it!". Tables are described in the right pane.

The query result will appear here. Ctrl+Enter - Run query