Chapter 3 Flashcards
The practical significance of taking the logical view of a database is that it serves as a reminder of the simple file concept of data storage.
True
Because the relational model uses attribute values to establish relationships among tables, many database users correctly assume that the term relation refers to such relationships.
False
Numeric data are data on which you can perform meaningful arithmetic procedures.
True
Each table in a relational database must have a primary key.
True
In a relational model, if A determines B, C, and D, you write A = B, C, D.
False
If the attribute (B) is functionally dependent on a composite key (A) but not on any subset of that composite key, the attribute (B) is fully functionally dependent on (A).
True
There is never a good reason to use null values in a database.
False
Tables within a database share common attributes that enable the tables to be linked together.
True
RDBMSs enforce integrity rules automatically.
True
The SELECT operator yields a vertical subset of a table.
False
The DIFFERENCE operator subtracts one table from the other.
True
A left outer join on tables CUSTOMER and AGENT yields all of the rows in the CUSTOMER table, including those that do not have a matching value in the AGENT table.
True
Which of the following is used to select partial table contents?
SELECT
FROM
BY ;
LIST
FROM
BY ;
-SELECT
FROM
WHERE ;
LIST
FROM
WHERE ;
Which query will output the table contents when the value of V_CODE is not equal to 21344?
-SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <> 21344;
SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <= 21344;
SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE = 21344;
SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE => 21344;
Which query will output the table contents when the value of the character field P_CODE is alphabetically less than 1558-QW1?
-SELECT P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE
FROM PRODUCT
WHERE P_CODE
You can think of a table as a persistent representation of a logical relation.
True
The order of the rows and columns is important to the DBMS.
False
Character data can contain any character or symbol intended for mathematical manipulation.
False
The idea of determination is unique to the database environment.
False
Only a single attribute, not multiple attributes, can define functional dependence.
False
A null is created when you press the Enter key or the Tab key to move to the next entry without making a prior entry of any kind.
True
Depending on the sophistication of the application development software, nulls can create problems when functions such as COUNT, AVERAGE, and SUM are used.
True
A foreign key must exist in both tables that have a relationship.
False
Referential and entity integrity are two names for the same thing.
False
Tables must have the same attribute characteristics (the columns and domains must be compatible) to be used in a UNION.
True