Ass 3
Ass 3
Ligon
2B-BSIT
The logical view of data refers to how data is perceived by users rather than how it is physically
stored. It focuses on the organization and relationships of data in a structured manner without
concern for physical storage or access methods.
The Relational Database Model provides a logical view of data by organizing it into tables
(relations) with rows (tuples) and columns (attributes). It enables users to interact with data using
Structured Query Language (SQL) while abstracting physical storage details. The relational
model supports:
3. What is a Key?
A key is an attribute or a set of attributes used to uniquely identify records (tuples) in a table
(relation). Keys enforce uniqueness and help in establishing relationships between tables.
Integrity rules ensure accuracy, consistency, and validity of data in a database. The two
primary integrity rules are:
Entity Integrity: Every table must have a primary key, and it cannot
contain NULL values.
Referential Integrity: A foreign key in one table must match an
existing primary key in another table, or be NULL.
Data redundancy refers to storing duplicate data across multiple locations or tables, leading
to: