Trouble Spots Flashcards

1
Q

SELECT (RESTRICT) yields a horizontal subset of a single table.

A

True

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

PROJECT yields a vertical subset of a single table.

A

True

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

UNION combines all rows from two tables excluding duplicate rows. The columns and domains of the two tables must be compatible.

A

True

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

INTERSECT yields only the rows that appear in both tables. Tables must be union-compatible.

A

True

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

DIFFERENCE yields all rows in one table that are not found in the other; that is it subtracts one table from another. Tables must be union-compatible.

A

True

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

PRODUCT yields all possible pairs of rows from two tables.

A

True

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

NATURAL JOIN links tables by selecting only the rows with common values in their common attributes.

A

True

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

INNER JOIN only returns matched records from the tables being joined.

A

True

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

OUTER JOIN returns the matched pairs of the inner join plus the unmatched records from one of the tables.

A

True

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

LEFT OUTER JOIN yields all the rows in the left table including those that have no matching values in the other table

A

True

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

RIGHT OUTER JOIN yields all the rows in the right table including those that have no matching values in the other table

A

True

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

DIVIDE is used to answer questions about one set of data being associated with all values in another set. DIVIDE uses one double-column table as the dividend and one single-column table as the divisor.

A

True

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

All information in a relational database must be logically represented as column values in rows within tables.

A

Information; Rule 1

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

Every value in a table is guaranteed to be accessible through a combination of table name, primary key value, and column name.

A

Guaranteed access; Rule 2

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

Nulls must be represented and treated in a systematic way, independent of data type.

A

Systematic treatment of nulls; Rule 3

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

The metadata must be stored and managed as ordinary data - that is, in tables within the database; such data must be available to authorized users using the standard database relational language.

A

Dynamic online catalog based on the relational model; Rule 4

17
Q

The relational database may support many languages; however it must support one well-defined, declarative language as well as data definition, view definition, data manipulation (interactive and by program), integrity constraints, authorization, and transaction management (begin, commit, and rollback).

A

Comprehensive data sublanguage; Rule 5

18
Q

Any view that is theoretically updatable must be updatable through the system.

A

View updating; Rule 6

19
Q

The database must support set-level inserts, updates, and deletes.

A

High-level insert, update, and delete; Rule 7

20
Q

Application programs and ad-hoc facilities are logically unaffected when physical access methods or storage structures are changed.

A

Physical data independence; Rule 8

21
Q

Application programs and ad-hoc facilities are logically unaffected when changes are made to the table structures that preserve the original table values (changing order of columns or inserting columns).

A

Logical data independence; Rule 9

22
Q

All relational integrity constraints must be definable to the relational language and stored in the system catalog (not at the application level).

A

Integrity independence; Rule 10

23
Q

If the system supports low-level access to the data, users must not be allowed to bypass the integrity rules of the database.

A

Non-subversion; Rule 12

24
Q

The end users and application programs are unaware of and unaffected by the data location (distributed vs. local databases).

A

Distribution independence; Rule 11

25
Q

All proceeding rules are based on the notion that to be considered relational, a database must use its relational facilities exclusively for management.

A

Rule 0