title: SQL : a condition (IF-ELSE) in INSERT INTO
body: <p>Is it possible ? </p>
  
  <blockquote>
  <pre><code>INSERT INTO tblPeople (id, group, company) VALUES (1, 'myGroup', 
  IF($company = '') BEGIN 'no company' ELSE 'myCompany' END)  
  </code></pre>
  </blockquote>
  
  <p>I would like test a value, an if the variable $company is empty, I would like write no company.</p>