Adding a Check Condition in Interactive SQL

You can add a new CHECK condition to the table or to an individual column.

For example, in a library database, the date_returned column for a particular entry must be later than (or the same as) the date_borrowed entry:
ALTER TABLE loan
ADD CHECK(date_returned >= date_borrowed)