Docsity

DAD 220 Module Two: Database Model Concepts and Relational Algebra, Exams of Biology

Toggle sidebar
bg1
DAD 220 Module Two
exam questions and
answers
Database Model
Conceptual framework for database systems with three parts: Data
structures, Operations, and Rules.
Data Structures
Prescribe how data is organized
Operations
Manipulate data structures.
Rules
Govern valid data.
Relational Model
A database model based on a tabular data structure. The data
structure, operations, and rules are standardized in SQL, the
universal query language of relational databases.
Tuple
An ordered collection of elements enclosed in parentheses.
Table
Has a name, a fixed tuple of columns, and a varying set of rows.
Column
has a name and a data type
Row
An unnamed tuple of values. Each value corresponds to a column
and belongs to the column's data type.
pf3
pf4

Partial preview of the text

Download DAD 220 Module Two: Database Model Concepts and Relational Algebra and more Exams Biology in PDF only on Docsity!

DAD 220 Module Two

exam questions and

answers

Database Model Conceptual framework for database systems with three parts: Data structures, Operations, and Rules. Data Structures Prescribe how data is organized Operations Manipulate data structures. Rules Govern valid data. Relational Model A database model based on a tabular data structure. The data structure, operations, and rules are standardized in SQL, the universal query language of relational databases. Tuple An ordered collection of elements enclosed in parentheses. Table Has a name, a fixed tuple of columns, and a varying set of rows. Column has a name and a data type Row An unnamed tuple of values. Each value corresponds to a column and belongs to the column's data type.

Data Type A named set of values, from which column values are drawn. Select Selects a subset of rows and a table. Project Eliminates one or more columns of a table. Product Lists all combinations of rows of two tables. Join Combines two tables by comparing related columns. Union Selects all rows of two tables. Intersect Selects rows common to two tables. Difference Selects rows that appear in one table but not another. Rename Changes a table name. Aggregate Computes functions over multiple table rows, such as sum and count. Relational Algebra A set of mathematical principles that form the basis for manipulating relational table contents; the eight main functions are SELECT, PROJECT, JOIN, INTERSECT, UNION, DIFFERENCE, PRODUCT, and DIVIDE. Relational Rules Part of the relational model and govern data in every relational database. Unique Primary Key

ALTER TABLE

Adds, deletes, or modifies columns in a table.