test 2 Flashcards

(22 cards)

1
Q

0NF–>1NF

A

remove repeating groups

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

1NF–>2NF

A

remove partial functional dependencies

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

2NF–>3NF

A

remove transitive dependencies

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

3NF→BC/NF

A

every determinate is a candidate key

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

BC/NF→4NF

A

remove multi-valued dependencies

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

4NF→5NF

A

remove join dependencies

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

three kinds of anomaly’s

A

insert , update and delete

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

DDL

A
"data definition language" used to create, change and destroy the logical structure that makes up the logical structure 
CREATE TABLE
CREATE INDEX
ALTER TABLE
DROP TABLE
RENAME TABLE
DROP INDEX
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

DML

A
"data manipulation language" used for inserting and deleting data from the database
SELECT
UPDATE
INSERT
DELETE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DCL

A

“data controle language” is like a computer language that is used to controle security access to the database
GRANT
REVOKE
DENY

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

COMMIT

A

a statement that makes permanent all changes that have been made by current transaction

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

ROLLBACK

A

statement that undoes the changes made by the current transaction

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

five rules of relational notation

A

1) duplicate tuples
2) row column order dosent matter
3) all from the same domain
4) single value cell
5) attributes and relations unique

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

disjointed

A

subclasses have no common members

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

overlapping

A

same instance can belong to than one subclass (TA can be both a teacher and a student)

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

partial participation

A

not every member of the superclass must belong to a subclass

17
Q

total participation

A

every member of the superclass must belong to a subclass(baby is eather a boy or girl)

18
Q

generalization

A

moving up the hierarchy from subclass to superclass

19
Q

specialization

A

moving down the e/r diagram superclass to subclass

20
Q

functional dependencies

A

when one attribute uniquely determines another
A–>B
keep in mind the inverse is not true B does not determen A

21
Q

fully functional dependency

A

when you have a functional dependence that cannot be reduced anymore

22
Q

transitive dependencies

A

when there is an indirect relationship that causes a functional dependency
A–>C is true because
A–>B and B–>C are true