Chapter 1 Flashcards
Table
Has a name, and fixed tuple of columns, and a varying set of rows
Column
Has a name and data type
Row
An unnamed tuple of values each value corresponds to a column and belongs to a columns data type
Data type
A named set of values from which column values are drawn
Set
in an ordered collection of elements, enclosed in braces, and are the same since sets are not ordered.
Database model
A conceptual framework for database systems with three parts: data structures that prescribe how data is organized, that manipulate data structures and rules that govern valid data.
Select
A command that selects a subset of rose of a table
Project
A command that eliminates 1 or more columns of the table
Product
List all combinations of rows of two tables
Join
Combines two tables by comparing related columns
Union
Select all rows of two tables
Intersect
Select rows common to 2 tables
Difference
Select 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