Professional Documents
Culture Documents
Hardware and
Operating System
Information about the Problem
Characteristics
Created by Edgar
Codd in the 1970s
Simple, elegant and
precise.
Implemented in the
majority of the DBMSs
Example: Oracle
Database, Microsoft
SQL server, IBM DB2, …
Data Structure
Important Note:
Do not confuse Relation with Relationship
Relation ≠ Relationship
Relation Schema
SQLite datatypes:
https://sqlite.org/datatype3.html
Data domain
• You must choose the proper domain/data type for each column.
• For example, you should not choose a text type for the column “age”.
• Data types have different ranges and, thus, different storages. See the examples
below about the integer types in MySQL:
https://dev.mysql.com/doc/refman/5.7/en/integer-types.html
Degree & Cardinality