MISC #2 (VIEWS, INDEXES, CARDINALITY, Operands) Flashcards

1
Q

Views

A
  • a virtual table that is based on the result of a statement
  • Views are saved queries, and it shows you data from table(s) based on a specific query
  • it exists to offer a way out from repeadtedly typing complex queries by storing a specific query and executing that query when you just referenced the view
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Materialized View

A

Require way more space and must be refreshed frequenctly because the query is computer before hand and stored physically as a table in the database.

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

3 different types of Cardinality

A
  • One to many
  • many to one
  • many to many
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

r

One to many

A

a relationship that means one record in onetable can be accoicuated with multiple records in another table

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

many to one

A

a relationship that means multiple records in one table can be associated with a single record in another table

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

many to many

A

a relationship that means multiple records in one table can be associated with multiple records in another table

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