title: Erroneous code acting like a SELECT * Statement
body: <p>I am teaching myself how to use SQLITE3. I have a COMPANY table that contains the following data: (Thank you TutorialsPoint)</p>
  
  <pre><code>ID          NAME                  AGE         ADDRESS     SALARY    
  ----------  --------------------  ----------  ----------  ----------
  
  1           Paul                  32          California  20000.0   
  2           Allen                 25          Texas       15000.0   
  3           Teddy                 23          Norway      20000.0   
  4           Mark                  25          Rich-Mond   65000.0   
  5           David                 27          Texas       85000.0   
  6           Kim                   22          South-Hall  45000.0 
  </code></pre>
  
  <p>I was trying retrieve all the data from the table where the AGE was 25 or 27. I executed the following code:</p>
  
  <pre><code>SELECT * FROM COMPANY WHERE AGE = 25 OR 27;
  </code></pre>
  
  <p>I now realise that the syntax I used was incorrect, but can someone tell me why this erroneous code is returning the equivalent of a <code>SELECT * FROM COMPANY</code>?</p>
  
  <p>Thank you, Sean</p>