title: How to check if id greater than a set of values in sql
body: <p>How do I check if a particular id is greater than a(any of) set of values directly..</p>
  
  <p>I thought this would work...but it isn't.. Let table be some table with a column id</p>
  
  <pre><code>select id from table where id &gt; any (2,3,4)
  </code></pre>
  
  <p>I get the following error </p>
  
  <blockquote>
    <p>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2,3,4)' </p>
  </blockquote>