The relational schema of a database lists its relations, with for each one its attributes, their domains, its primary key and its foreign keys. An integrity constraint is a rule every state of the database must satisfy. Three kinds come with the schema: domain constraints (each value lies in its attribute’s domain), relation constraints (no two rows share a primary key) and reference constraints (each foreign key points to a row that exists).
streets, an author in books.