title: Preventing duplicates in an SQL query?
body: <p>Is there an easy way when inserting a new record to make it fail if one of the fields is a duplicate of one of the other fields?</p>
  
  <p>I don´t want the field to be a primary key or anything like that...</p>