title: IF() statement alternative in SQLite
body: <p>I have the code for MySQL (perl):</p>
  
  <pre><code>UPDATE pages
  SET rkey = rkey + 2,
      lkey = IF(lkey &gt;= $key, lkey + 2, lkey)
  WHERE rkey &gt;= $key
  </code></pre>
  
  <p>I need to use this code with SQLite, but there is no support of IF() function. What I can do?</p>