title: How to get current week data till today's date using query?
body: <p>How to fetch current week data till today's date ?</p>
  
  <p>Example - Current week start from 2017-08-01 to 2017-08-07 and today date is 2017-08-03. I want to fetch data from 2017-08-01 to 2017-08-03 using query.</p>
  
  <pre><code>This is query - 
  
  SELECT *
      FROM   user_data
      WHERE  YEARWEEK(`date`, 1) = YEARWEEK(CURDATE(), 1)
  </code></pre>