Learn: DBMS exam 1 refresher

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

15 Terms

1
New cards

Superkey

An attribute or set of attributes that uniquely identifies a tuple.

2
New cards

Candidate Key

A minimal superkey; no proper subset of it is also a superkey.

3
New cards

Primary Key

The candidate key selected to uniquely identify tuples in a relation.

4
New cards

Foreign Key

An attribute or set of attributes whose values reference the primary key of another table.

5
New cards

Selection (σ)

Returns only the tuples/rows that satisfy a specified condition or predicate.

6
New cards

Projection (π)

Returns specified attributes/columns and eliminates duplicate resulting tuples.

7
New cards

Union (∪)

Returns tuples in R, S, or both; duplicates are eliminated.

8
New cards

Set Difference (−)

Returns tuples that are in R but not in S.

9
New cards

Intersection (∩)

Returns tuples that occur in both R and S.

10
New cards

Cartesian Product (×)

Combines every tuple of one relation with every tuple of another relation.

11
New cards

Join (⋈)

Combines tuples from two relations according to a join condition using compatible join attributes.

12
New cards

Join Condition

The condition specifying how tuples from two relations are matched during a join.

13
New cards

Join Attribute

An attribute used to join two relations; the participating attributes have the same domain.

14
New cards

Natural Join

A join over common same-named attributes that removes the duplicate occurrence of the common join attribute.

15
New cards

Join Selectivity

The number of records in the join result divided by the relevant number of records used for comparison.