In SQL, keys identify rows uniquely and link tables together. Constraints are rules that enforce the integrity of your data — they prevent invalid, duplicate, or missing values from ever entering the ...