title: Ignore errors in Insert from select statement SQL
body: <p>Is there a way or a command to ignore duplicated primary key error when inserting data from a select?</p>
  
  <p><strong>Explanation</strong>
  Lets suppose i have this query: <code>Insert into my_table values (select * from my_second_table)</code> but <code>my_table</code> has a primary key on <code>id</code>. Also <code>my_second_table</code> has a column named <code>id</code> so when attempting the insert it cause a duplicated primary key error.</p>
  
  <p>I know i can avoid these kind of problems using <code>go</code> but in this case i cant use it because is an insert from a select, or at least is what i know.</p>
  
  <p>Is there something i can do?</p>