title: MySQL Select where date = curdate() OR duedate = exactly 14 days from now
body: <p>I need to write a query I cant quite figure out yet.</p>
  
  <p>I have a table with 2 dates. One of them is the date of creation and the other one is the date of return. I want to select all rows </p>
  
  <p><code>WHERE date_creation = CURDATE() OR date_return = exactly 14 days ahead.</code> It doesn't have to be precise by the hour since it's a cronjob and runs once a day. </p>
  
  <p>I have tried using <code>INTERVAL + - DAYS,</code> etc. But seems like INTERVAL selects everything that falls WITHIN that range. I need something exact.</p>
  
  <p>Hope someone can help me on my way.</p>
  
  <p>Cheers!</p>