title: "where 1=1" statement
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/242822/why-would-someone-use-where-1-1-and-conditions-in-a-sql-clause">Why would someone use WHERE 1=1 AND &lt;conditions&gt; in a SQL clause?</a>  </p>
  </blockquote>
  
  
  
  <p>I saw some people use a statement to query a table in a MySQL database like the following:</p>
  
  <pre><code>select * from car_table where 1=1 and value="TOYOTA"
  </code></pre>
  
  <p>But what does <code>1=1</code> mean here?</p>