Database 442 Quiz 1

0.0(0)
studied byStudied by 3 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

entity

An entity is an object that exists and is distinguishable from other objects

2
New cards

entity set

An entity set is a set of entities of the same type that share the same properties.

3
New cards

relationship

A relationship is an association among several entities

4
New cards

relationship set

A relationship set is a mathematical relation among n ≥ 2 entities, each taken from entity sets

5
New cards

attribute

An attribute can also be property of a relationship set

6
New cards

domain

the set of permitted values for each attribute

7
New cards

For a binary relationship set the mapping cardinality must be one of the following types:

One to one

One to many

Many to one

Many to many

8
New cards

super key

A super key of an entity set is a set of one or more attributes whose values uniquely determine each entity

9
New cards

candidate key

A candidate key of an entity set is a minimal super key

10
New cards

primary key

a candidate key chosen as the principal means of

identifying tuples within a relation

11
New cards

weak entity set

An entity set that does not have a primary key is referred to as a weak entity set.

12
New cards

Attribute inheritance

a lower-level entity set inherits all the attributes and relationship participation of the higher-level entity set to which it is linked

13
New cards

relation schema

a tuple of related attributes

<p>a tuple of related attributes</p>
14
New cards

foreign key

A relation schema may have an attribute that corresponds to the primary key of another relation.

15
New cards

natural relationship

  • two tables have a common attr/col. name

  • same values in those columns

16
New cards

natural join removes…

removes duplicates

17
New cards

an operator creates…

a new table

18
New cards

database times

oltp

olap

19
New cards

oltp

online transaction

  • normalizes the data, separate tables

  • changes in real time

  • used for fast transactions

20
New cards

olap

online analysis

  • denormalizes data

  • used to analyse information

  • one table with data