MAERSK interview question

Explain about constraints in SQL.