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

ETM 312 Theory Questions: Land Law and the Consequences of Unauthorized Land Transfers in Nigeria

300 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Co-Ownership Structures and Land Acquisition Methods in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Rights in Community Land and Fundamental Land Concepts in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Customary Land Control and the Origins of Nigeria’s Land Use Act

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Land Ownership Principles and Transaction Laws in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 226 Theory Questions: Trespass: Types and Defenses in Property Law

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago