SQL Constraints and their Usage