title: mysql select row based in many column values
body: <p>I have a table like this</p>
  
  <pre><code>id alias_word language  original
  1    word1      es      changed_word
  2    word1      en      orig_word
  3    word1      fr      changed_word
  4    word2      de      other_original
  </code></pre>
  
  <p>Supposing reference column <code>language</code> = <code>es</code></p>
  
  <p>How to make a query to have result all rows that have <code>alias_word</code> column = <code>word1</code> and the <code>original</code> column is different than <code>original</code> column where <code>language</code> column = es</p>
  
  <p>espected result:</p>
  
  <p><code>2    word1    en    orig_word</code></p>
  
  <p>Ihave tried this and have empty result</p>
  
  <pre><code>SELECT * FROM words WHERE alias_word = 'word1' AND original &lt;&gt; original
  </code></pre>