Categories: Lesson Notes

SS2 First Term Data Processing Lesson Note – Relational Model

The content is just an excerpt from the complete note for SS2 First Term Data Processing Lesson Note – Relational Model. Check below to download the complete DOCUMENT

WEEK SEVEN:

WEEK EIGHT                                                                       

TOPIC:  RELATIONAL MODEL

CONTENT: 

  1. Creating and modifying relations using SQL
  2. Integrity constraints over relations

Sub-topic 1

The relational model for database management is a database model based on first –order predicate logic, first formulated and proposed in 1969 by E.F. Codd.

The purpose of the relational model is to provide a declarative method for specifying data and queries.

Creating and modifying relations using SQL

Creating and modifying relations simply is the process of creating and modifying a database. Data-definition queries can be very convenient. You can regularly delete and re-create parts of your database schema merely by running some queries. Consider using a data-definition query if you are familiar with SQL statements and you plan to delete and re-create particular tables, constraints, indexes or relationships.

A relation is a table structure definition (set of column definitions) along with the data appearing in that structure. The structure definition is the heading and the data appearing in it is the body, a set of rows. A database relvar (relation variable) is commonly known as base table. Operators called the Update operators are used to interact with the database. Example, INSERT, UPDATE or DELETE.

SQL

SQL (often referred to as structured query language) is a programming language designed for managing data in relational database management system (RDBMS) it is use for data insert, query, update and delete, schema creation and modification, and data access control. SQL can achieve the following in a database:

To gain full access to the note: DOWNLOAD FILE

Sunday

Share
Published by
Sunday

Recent Posts

List of Universities Offering Veterinary Medicine in Nigeria

Veterinary medicine is the branch of medicine that deals with the prevention, diagnosis, and treatment…

4 months ago

List of Universities Offering Anthropology in Nigeria

Anthropology is the scientific study of human beings and their cultures. It encompasses a wide…

4 months ago

List of Universities Offering Sociology in Nigeria

Sociology is the scientific study of human society, culture, and behavior. It examines the social…

4 months ago

List of Universities Offering Social Work in Nigeria

Social Work is a profession dedicated to helping individuals, families, and communities to cope with…

4 months ago

List of Universities Offering Religious Studies in Nigeria

Religious studies is an academic discipline that explores the beliefs, practices, and history of various…

4 months ago

List of Universities Offering Public Administration in Nigeria

Public administration is the field of study and practice that focuses on the organization and…

4 months ago