title: How can i ensure that same values are not inserted into database?
body: <p>I have a table with PK = BookId and another non-key - BookName.
  Can I ensure that the user does not add the same book again into the database, at the DB level. Or do i have to do it at the application level ?</p>
  
  <p>Please advise.</p>