Is this what you are looking for:
select CAST(DATE_FORMAT(NOW() ,'%Y-%m-01') as DATE);
More Related Contents:
- Get a list of dates between two dates
- How to populate a table with a range of dates?
- How to convert a string to date in MySQL?
- MySQL Query GROUP BY day / month / year
- Converting a date in MySQL from string field
- Mysql: Select all data between two dates
- MySQL SELECT WHERE datetime matches day (and not necessarily time)
- MySQL Query – Records between Today and Last 30 Days
- Difference between two dates in MySQL
- CURRENT_DATE/CURDATE() not working as default DATE value
- How to get difference between two dates in months using MySQL query?
- Select mysql query between date?
- How to select date from datetime column?
- How do I select between the 1st day of the current month and current day in MySQL?
- mysql: get record count between two date-time
- Count days between two dates, excluding weekends (MySQL only)
- How to select the most recent set of dated records from a mysql table
- How to cast DATETIME as a DATE in mysql?
- MySQL date format
- Compare only day and month with date field in mysql
- How to select only date from a DATETIME field in MySQL?
- Select all months within given date span, including the ones with 0 values
- Update date + one year in mysql
- Insert/ Update random date in MySQL
- mysql date comparison with date_format
- How to compare timestamp dates with date-only parameter in MySQL?
- #1292 – Incorrect date value: ‘0000-00-00’ [duplicate]
- MySQL cumulative sum grouped by date
- MySQL: Find Missing Dates Between a Date Range
- How do I extract Month and Year in a MySQL date and compare them?