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 15:

Start and End Dates of Current Month

MySQL
Write a query that returns the start and end dates of the current month in the format YYYY-MM-DD with the columns named first_of_month and last_of_month.
Expected result Columns: 2 · Rows: 1
first_of_month last_of_month

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

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

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.