Learning Objectives i. Definition of relational database ii. Terms in relational database iii. Creating and modifying relations using SQL. Definition of Relational Model
A Relational database management
system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd. Activity 1 Mention some terms used in relational database. Terms in Relational Database Table: The data in an RDBMS is stored in database objects which are called tables. This table is basically a collection of related data entries and it consists of columns and rows. Table Field A field is a column in a table that is designed to maintain specific information about every record in the table. Every table is broken up into smaller entities called fields. The fields in the STUDENT’S table consist of student_id, name and major. Record or Row:
A record is also called a row of data is
each individual entry that exists in a table. Column:
A column is a vertical entity in a table that
contains all information associated with a specific field in a table. NULL Value:
A NULL value in a table is a value in a field
that appears to be blank, which means a field with a NULL value is a field with no value. Activity 2 What is SQL? What is SQL? Creating and Modifying Relations Using SQL
A database relation is a predefined
row/column format for storing information in a relational database. Relations are equivalent to tables. 4. Alphabet: Organization in an alphabetical sequence. 5. Continuum: Organization by magnitude. Evaluation 1. _______ is a database management system (DBMS) that is based on the relational model 2. The data in an RDBMS is stored in database objects which are called ______. 3. Explain 4 terms in relational database. 4. What does it mean when the value of a field in a database table is ‘0’? Assignment Explain the following terms: 1. SQL 2. RDBMS