1.1 Relational model Flashcards

1
Q

Database Model

A

Coceptual
Framework for database systms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 parts of Database model

A
  1. Data Structures
  2. Operations
  3. Rules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Data Structures

A

Prescribe how data is organized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Operations

A

Manipulate Data structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Rules

A

Govern Valid Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

relational model

A

A database model based on a tubular data structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

big data

A

unprecedented data volumes and rapidly changing data structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

set

A

unordred collection of elements enclosed in braces
Ex: {a,b,c}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

tuple

A

Orderd collection of elements enclosed in a parentheses (also known as a row)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

table

A

Has a n ame, a fixed tuple of columns, and a varying set of rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Column

A

has a name and a data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

row

A

an unnamed tuple of values.
Each value corresponds to a column and belongs to the columns data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

data type

A

a named set of values, from which column values are drawn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

select

A

selects a subset of rows of a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Project

A

eliminates one or more columns of a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

product

A

lists all combinations of rows of two tables

17
Q

join

A

combines two tables by comparing related columns

18
Q

union

A

selects all rows of two tables

19
Q

intersect

A

selects rows common to two tables

20
Q

difference

A

selects rows that appear in one table but not another

21
Q

rename

A

changes a table name

22
Q

aggregate

A

computes functions over multiple table rows

23
Q

Relational rules

A

part of the relational model nad govern data in every relational database

24
Q

Unique Primary Key

A

All tables have a primary key column, or group of columns, in which values may not repeat

25
Q

unique column names

A

different columns of the same table have different names

26
Q

no dublicate rows

A

no two rows of the same table have identical values in all columns

27
Q

constraints

A

relational rules are implemented as SQL constraints and enforced by the database system