🚀 November has started! SQLtest.online stays free thanks to donations from people like you. Help us reach this month's goal early so the site keeps running without interruptions. Support now →
SQL code copied to buffer
Task 9:

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