title: Get missing id from table
body: <p>I have <code>tbl_profilecategory</code> table structure like this:</p>
  
  <pre><code>Id      col1
  1       50
  3       30
  4       40
  5       50
  8       80
  9       90
  </code></pre>
  
  <p>Now I want the missing IDs from table, so the result here should be like this:</p>
  
  <pre><code>Id= 2,6,7 
  </code></pre>