Use YEARWEEK()
:
SELECT *
FROM your_table
WHERE YEARWEEK(`date`, 1) = YEARWEEK(CURDATE(), 1)
More Related Contents:
- Left Outer Join doesn’t return all rows from my left table?
- 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
- How to get the number of days of difference between two dates on MySQL?
- Converting a date in MySQL from string field
- MySQL: Select All Dates In a Range Even If No Records Present
- 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
- 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?
- Get the latest date from grouped MySQL data
- mysql: get record count between two date-time
- How to get first day of every corresponding month in mysql?
- 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
- Select all months within given date span, including the ones with 0 values
- Update date + one year in mysql
- mysql date comparison with date_format
- #1292 – Incorrect date value: ‘0000-00-00’ [duplicate]
- MySQL cumulative sum grouped by date
- SQL date format convert? [dd.mm.yy to YYYY-MM-DD]
- MySQL: Find Missing Dates Between a Date Range
- How do I extract Month and Year in a MySQL date and compare them?
- Working with INTERVAL and CURDATE in MySQL