title: SQL insert into table if row not exists in empty table not working
body: <p>I've a problem,
  I want insert fields in a table if row not exist</p>
  
  <p>My code is:</p>
  
  <pre><code>INSERT INTO  `myTable` (
  `circuit` ,
  `date` ,
  `session` ,
  `lap` ,
  `time`
  ) SELECT  'misano',  '2013-10-11',  1,  1,  '0:01:06:332'
  FROM `myTable`
  WHERE NOT EXISTS (SELECT 1 FROM `myTable` WHERE `circuit` = 'misano' AND `date` = '2013-10-11' AND `session` = 1 AND `lap` = 1 AND `time` = '0:01:06:332')
  </code></pre>
  
  <p>This code work fine if in "myTable" there is at least one row. If "myTable" is empty, SQL return: 0 row.</p>