Support ongoing development - donate to help us maintain and improve the platform. 🖥️ Support sqltest →
SQL code copied to buffer
Task 138:

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.