Lec 6 Flashcards
1
Q
Three concepts (data first)
A
Data -> Context -> Knowledge
2
Q
In Regional databases
Collumns are called:
Rows are called:
A
- Attributes
2. Records
3
Q
Database normalization trade-offs
A
Performance vs Unnecessarily/size
4
Q
1NF requirments
A
- Domain only atomic values
2. Single Value
5
Q
2NF requirments
A
- 1NF
2. IF! composite key, no partial dependencies
6
Q
3NF
A
- 2NF
2. No transitive dependencies
7
Q
An ERD is based on four elemental concepts
A
– Entities
– Attributes
– Relationships
– Cardinalities
8
Q
Cardinalities forms
A
- 1 to 1
- 1 to M
- M to N
9
Q
SQL Commands Categories
A
1. Data Defining Language (Structure) Create/Delete/Alter databases/tables 2. Data Manipulation Language (Content) Retrieve/Insert/Change Tuples/Records 3. Data Control Language (Access) Permission Management