title: Insert/ Update random date in MySQL
body: <p>How would I update a column with a random date in the past 2 weeks using MySQL?</p>
  
  <p>For example (code doesn't actually work):</p>
  
  <pre><code>UPDATE mytable
  SET col = sysdate() - rand(1, 14);
  </code></pre>