MAERSK Interview Question

Explain about constraints in SQL.