Intro to Database Systems - Part 1 : A quick intro to db

Let’s start with some new vocabulary and acronyms:

As data models, we can have :

relationalDB.png

The main advantages of the relational model are :

Some advantages of more complex data models like the pre-relational model (network/hierarchy) or the post-relational (OO/XML) are the fact that they have :

The advantage of the Key-value model is its simplicity, but it’s also the main drawback.

An Entity-Relationship Model is a diagram describing the requirements of the database. It contains:

A transaction is a single logical operation on the data (read/write). The ACID model, defining 4 properties, guarantees that a database transaction is processed reliably:

 
567
Kudos
 
567
Kudos

Now read this

Intro to Database Systems - Part 8 to 10 : Intermediate SQL

Using the next common keywords will return a column with only one row. They are called aggregate functions: 1) COUNT 2) AVG 3) SUM 4) MIN/MAX 1) COUNT : returns the number of rows matching a specific criteria. SELECT COUNT * FROM Skaters... Continue →