Personal notes from the course "Database Management Systems", Polytechnic University of Turin 2012.