Consider a site where a user can rate games. The ratings available are: None, Liked, or Disliked. The code will keep track of the ratings just fine. The current problem is a user can rate a game and just keep re-rating it.
How would a SQL table look if I wanted to store a user's rating for a certain game? Duplicate ratings for each user/game shouldn't be allowed.