title: With MySQL, how do I insert into a table on condition that the value does not exist in same table?
body: <pre><code>insert into student (FirstName,AGE,CITYID) values('guna','26','1')
  
  select * from student WHERE FirstName!='guna';
  </code></pre>
  
  <p>This query showing error.I can't make FirstName column as unique. Please give an idea other than this.</p>
  
  <p>Thanks</p>