title: Need MySQL query for updating table
body: <p>Here is my table structure</p>
  
  <pre><code> CREATE TABLE emp
   (
        id INT,
        name VARCHAR(25),
        salary INT,
        joining_date DATE
   )
  </code></pre>
  
  <p>I want a SQL query to update salary +1500 if joining_date is less than '2014-04-14' in MySQL.</p>