Primary Key and Foreign Key Constraints in SQL