Term
Select is denoted by which symbol? |
|
Definition
|
|
Term
Project is denoted by which symbol? |
|
Definition
|
|
Term
σ cnum = 573 (customer)
What does the degree = ? |
|
Definition
|
|
Term
σ cnum = 573 (customer)
What does the cardinality = ? |
|
Definition
|
|
Term
|
Definition
|
|
Term
What does Project select? |
|
Definition
|
|
Term
How do you find the degree of a Cross Product? |
|
Definition
# of elements of 1st relation + # of elements of 2nd relation |
|
|
Term
How do you find the cardinality of a Cross Product? |
|
Definition
# of elements of 1st relation x # of elements of 2nd relation |
|
|
Term
Do you include the common attribute in an equijoin or natural join? |
|
Definition
|
|
Term
To be Union Compatible, what two requirements must be satisfied? |
|
Definition
They must have the same degree & the data types must match |
|
|
Term
|
Definition
|
|
Term
Part_Plumb ← π (pnum)(σclass =“PL”(part))
All_Orders ← π(ordernum,pnum) (orderline)
What would the result be? |
|
Definition
Result ← All_Orders ÷ part_plumb |
|
|
Term
temp = ordernum
Part_Plumb ← π (pnum)(σclass = “PL”(part))
All_Orders ← π(ordernum,pnum)(orderline)
temp2 ← ordernum(Part_Plumb X T1) - All_Orders
What would the result be? |
|
Definition
|
|
Term
List all the publishers that are not in New York. |
|
Definition
project pname ← (city !=(New York)(Publisher)) |
|
|
Term
|
Definition
A collection of data which is related |
|
|
Term
|
Definition
A known fact about something |
|
|
Term
|
Definition
A universe of discourse with varying complexity. |
|
|
Term
What is a database management system? |
|
Definition
A collection of programs that allow you to define, create, & manipulate a database |
|
|
Term
|
Definition
Structured Query Language |
|
|
Term
What does data redundancy lead to? |
|
Definition
It leads to wasted space and data inconsistency |
|
|
Term
What are the advantages of the DBMS approach? |
|
Definition
- Avoids unwanted data redundancy/controlled redundancy
- Data inconsistency is much less probable
- Represents complex relationships among data
- Enforce integrity constraint
- Sharing of data (concurrency controls)
- Provides data independence
|
|
|
Term
What are the advantages of the DBMS approach that is data related? |
|
Definition
controlled redundancy sharing of data providing multiple user views consistency providing data independence enforcing integrity constraints |
|
|
Term
What are the advantages of he DBMS approach that are system related? |
|
Definition
security - restricting unauthorized access concurrency controls providing structures for efficient query processing providing backup & recovery. |
|
|