Exam 3: The Relational Data Model
Exam 1: Introduction to Database Management76 Questions
Exam 2: Introduction to Database Development76 Questions
Exam 3: The Relational Data Model75 Questions
Exam 4: Query Formulation With SQL75 Questions
Exam 5: Understanding Entity Relations76 Questions
Exam 6: Developing Data Models for Business Databases75 Questions
Exam 7: Normalization of Relational Tables76 Questions
Exam 8: Physical Database Design76 Questions
Exam 9: Advanced Query Formulation With SQL74 Questions
Exam 10: Application Development With Views75 Questions
Exam 11: Stored Procedures and Triggers76 Questions
Exam 12: View Design and Integration76 Questions
Exam 14: Data and Database Administration76 Questions
Exam 15: Transaction Management75 Questions
Exam 16: Data Warehouse Technology and Management78 Questions
Exam 17: Client-Server Processing and Distributed Databases76 Questions
Exam 18: Object Database Management Systems83 Questions
Select questions type
Count,min,max,average and sum are all ___________________ functions that can be used to summarize groups of rows of an input table.
(Short Answer)
4.8/5
(26)
A relationship in which a foreign key refers to the same table and represents an association among the members of the same set is known as a(n)__________________ relationship.
(Short Answer)
4.8/5
(36)
Candidate keys that are not primary keys are declared with the DISTINCT keyword in the CONSTRAINT clause of the CREATE TABLE statement.
(True/False)
4.8/5
(31)
One specialized use of the union,intersection and difference operators is to combine tables distributed over multiple locations.
(True/False)
4.9/5
(33)
For each column in a table,the ___________________ defines a set of values and permissible operations on those values.
(Short Answer)
4.8/5
(35)
The following data are in the tables Employee (primary key: Empno) and Department (primary key: Deptno). The questions refer to row numbers of this table. The first row of each table is row #1. Empdeptno in table Employee is a foreign key that refers to Deptno in the table Department. Deptmgr in the table Department is a foreign key that refers to Empno in the table Employee.
Table~Employee\\
\begin{array}{|l|l|l|l|l|}
\hline \text { Empno } & \text { Empname } & \text { Empdeptro } & \text { Empsalary } & \text { Emptitle } \\
\hline 555 & \text { Keamy } & 200 & 7000 & \text { manager } \\
\hline 666 & \text { Williams } & 100 & 8000 & \text { manager } \\
\hline 777 & \text { Haberle } & 200 & 5000 & \text { clerk } \\
\hline 888 & \text { Haberle } & 200 & 5000 & \text { clerk } \\
\hline & \text { Johnson } & 300 & 4000 & \text { analyst } \\
\hline 889 & \text { Dupont } & 400 & & \\
\hline & \text { McCabe } & 400 & 6000 & \text { programmer } \\
\hline 999 & \text { Lopez } & & 9000 & \text { manager } \\
\hline
\end{array}
Table~Department\\
\begin{array}{|l|l|l|l|}
\hline \text { Deptno } & \text { Deptname } & \text { Deptcity } & \text { Deptmgr } \\
\hline 100 & \text { Logistics } & \text { Wichita } & 666 \\
\hline 200 & \text { Finance } & \text { Boise } & 555 \\
\hline 300 & \text { Marketing } & \text { Pierre } & 666 \\
\hline
\end{array}
-Which of the following statements is true?
(Multiple Choice)
4.9/5
(36)
A(n)__________________ is a connection between rows in two tables,which is shown by column values in one table that match column values in another table.
(Short Answer)
4.7/5
(38)
A(n)_________________ set operator retrieves all rows in either input table.
(Short Answer)
4.9/5
(38)
The Intersection of a table of N rows and of a table of M rows (M<=N)has the following number of rows:
(Multiple Choice)
4.8/5
(32)
A(n)_________________ is an operator that includes in the result table the matching rows of the input tables and the nonmatching rows from both input tables.
(Short Answer)
4.8/5
(36)
The ________________ operator compresses a table by replacing groups of rows with individual rows containing calculated values.
(Short Answer)
4.9/5
(31)
In the project operation of relational algebra,when a subset of columns is retrieved and the resulting table contains duplicate rows,the project operator will automatically remove the duplicate rows.
(True/False)
4.7/5
(36)
An unknown value,or a value that does not apply to a given row of a table,is indicated by:
(Multiple Choice)
4.7/5
(37)
Table~Employee\\
\begin{array}{|l|l|l|l|l|}
\hline \text { Empno } & \text { Empname } & \text { Empdeptno } & \text { Empsalary } & \text { Emptitle } \\
\hline
\end{array}
Each row of the table Department describes a department. Deptno is the primary key. Deptmgr (Department manager) refers to Empno in table Employee.
Table~Department\\
\begin{array}{|l|l|l|l|}
\hline \text { Deptno } & \text { Deptname } & \text { Deptcity } & \text { Deptmgr } \\
\hline
\end{array}
Each row of the table Project describes a project. The primary key is Projno. Projmgr (project manager. refers to Empno in the table Employee.
Table~Project\\
\begin{array}{|l|l|l|}
\hline \text { Projno } & \text { Projname } & \text { Projmgr } \\
\hline
\end{array}
The table Projstaff indicates the staff assigned to various Projects.
Table~Project\\
\begin{array}{|l|l|l|l|l|}
\hline \text { Prstno } & \text { Prstempno } & \text { Prsthours } & \text { Prstdate } & \text { Prstasgtno } \\
\hline
\end{array}
The combination of columns Prstno, Prstempno is a candidate key. There could be other candidate
keys. Prstempno is the Empno in table Employee of the employee working on project number Prstno, which refers to Projno in the table Project. The meaning of Prstasgtno is left undefined.
-The relationship connecting Employee to Project and expressing that an employee works on a project (Link table Projstaff)is:
(Multiple Choice)
4.8/5
(36)
In a relational database,each table has a heading or definition part and a body or content part.
(True/False)
4.9/5
(41)
A candidate key is indicated in SQL with the use of the following keywords in a CREATE statement:
(Multiple Choice)
4.9/5
(32)
In relational algebra,the _________________ operator shows everything possible from two tables.
(Short Answer)
4.8/5
(35)
The following data are in the tables Employee (primary key: Empno) and Department (primary key: Deptno). The questions refer to row numbers of this table. The first row of each table is row #1. Empdeptno in table Employee is a foreign key that refers to Deptno in the table Department. Deptmgr in the table Department is a foreign key that refers to Empno in the table Employee.
Table~Employee\\
\begin{array}{|l|l|l|l|l|}
\hline \text { Empno } & \text { Empname } & \text { Empdeptro } & \text { Empsalary } & \text { Emptitle } \\
\hline 555 & \text { Keamy } & 200 & 7000 & \text { manager } \\
\hline 666 & \text { Williams } & 100 & 8000 & \text { manager } \\
\hline 777 & \text { Haberle } & 200 & 5000 & \text { clerk } \\
\hline 888 & \text { Haberle } & 200 & 5000 & \text { clerk } \\
\hline & \text { Johnson } & 300 & 4000 & \text { analyst } \\
\hline 889 & \text { Dupont } & 400 & & \\
\hline & \text { McCabe } & 400 & 6000 & \text { programmer } \\
\hline 999 & \text { Lopez } & & 9000 & \text { manager } \\
\hline
\end{array}
Table~Department\\
\begin{array}{|l|l|l|l|}
\hline \text { Deptno } & \text { Deptname } & \text { Deptcity } & \text { Deptmgr } \\
\hline 100 & \text { Logistics } & \text { Wichita } & 666 \\
\hline 200 & \text { Finance } & \text { Boise } & 555 \\
\hline 300 & \text { Marketing } & \text { Pierre } & 666 \\
\hline
\end{array}
-Which of the following statements is true?
(Multiple Choice)
4.9/5
(38)
The referential integrity rule ensures that people,things and events are uniquely identified in a database.
(True/False)
4.9/5
(36)
A(n)_________________ set operator retrieves just the common rows of both input tables.
(Short Answer)
5.0/5
(32)
Showing 41 - 60 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)