The lecture slides of the data base management system have important concept material. The main points in slides are:Relational Data Model, Notation for Describing Data, Object-Relational Model, Semistructured-Data Model, Relation Schema, Data Types, Table Declarations, Data-Manipulating Aspect, Usual Set Operations, Cartesian Product
Download Relational Data Model - Data Base Management System - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!
Relational Data Model
What’s a data model?
Data model is a notation for describing data or information.
The description generally consists of three parts: ---------------Structure of the data ---------------Operation on the data ---------------Constraints on the data
Basics of the relational model
Attributes:
Schemas:
Tuples:
Domains:
constraints
Relational model illustrated
Data types
Char
Bit
Boolean
Int
Float
Date, Time
Table declarations
Create Table table name (
title CHAR(100),
year INT,
length INT,
genre CHAR(10),
);
Modifying relation schemas
drop table R
Alter table movies ADD producer INT;
Alter Table Movies Drop length;
Relational Algebra
It’s the data-manipulating aspect of the relational model
It’s the core of SQL language and every query in SQL gets translated to relational algebra.