Built at:

Database#

Postgresql#

List schema: SELECT schema_name FROM information_schema.schemata

General#

Table vs Relation#

For instance, a SQL table can potentially contain duplicate rows, whereas a true relation cannot contain duplicate rows that we call tuples. Similarly, representation as a table implies a particular ordering to the rows and columns, whereas a relation is explicitly unordered. Table Database)

Naming convention#

Database Design with UML and SQL notes#

Reference: Database design with UML and SQL, 4th edition

It’s important to recognize that defining schemes or domains as sets of elements automatically tells us a lot more about them, from the mathematical properties of sets.

Key points: