Exam 7: Information Retrieval From Relational Databases

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A full outer join will show records that contain NULL values.

Free
(True/False)
4.9/5
(32)
Correct Answer:
Verified

True

Examine the Sale and Cash Receipt relational tables and the corresponding query solution below. Which of the following SQL query statements applied to those tables will result in the depicted solution?

Free
(Multiple Choice)
5.0/5
(41)
Correct Answer:
Verified

B

Examine the relational tables depicted below. A user needs a query that includes InventoryStockID, and Description from the inventory table and the corresponding SaleIDs and Quantities Sold from the Stockflow1 table. Inventory items that have not yet been sold need to be included in the query result, with blanks showing for the corresponding Sale IDs and Quantities Sold. What kind of join is required to generate the desired result? Assume the Inventory table is the first table listed in the query statement (and is thus considered the "left" table) and the Stockflow table is the second table listed in the query statement (and is thus considered the "right" Table). Examine the relational tables depicted below. A user needs a query that includes InventoryStockID, and Description from the inventory table and the corresponding SaleIDs and Quantities Sold from the Stockflow1 table. Inventory items that have not yet been sold need to be included in the query result, with blanks showing for the corresponding Sale IDs and Quantities Sold. What kind of join is required to generate the desired result? Assume the Inventory table is the first table listed in the query statement (and is thus considered the left table) and the Stockflow table is the second table listed in the query statement (and is thus considered the right Table).

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

E

The answer to a query connecting two criteria with an AND logical operator will include all instances that meet either of the two criteria.

(True/False)
4.8/5
(37)

Which operation would you use to total sales for each individual sales person.

(Multiple Choice)
4.8/5
(38)

Right outer join queries can only be created in relational algebra.

(True/False)
4.9/5
(37)

Every SQL statement begins with the word PROJECT.

(True/False)
4.9/5
(34)

Ad hoc querying is done primarily by professional database developers who use SQL.

(True/False)
4.8/5
(43)

A parameter query requires a user to change the design of the query to reuse it with new parameter values.

(True/False)
5.0/5
(41)

In Microsoft Access Query By Example, the inclusion of Criteria on two different lines as illustrated in the following query will In Microsoft Access Query By Example, the inclusion of Criteria on two different lines as illustrated in the following query will

(Multiple Choice)
4.9/5
(37)

Given the following tables, what are the first and last names of the customers who have bought the "large, basic" product? Given the following tables, what are the first and last names of the customers who have bought the large, basic product?

(Short Answer)
4.7/5
(38)

Query by Example (QBE) requires the end user to be able to construct a complex SQL Statement.

(True/False)
4.8/5
(38)

A database includes the following tables. Design a query to display a count of the number of times each computer has been checked out, including zeros for those that have not yet been checked out. Include each computer's ID and the number of times it has been checked out. You may either write the query in SQL code or fill in the appropriate fields in the blank QBE design grid that follows the tables. The blank QBE design grid includes the "Total" line in case the query requires it; if the query does not use it, be sure to cross it off. A database includes the following tables. Design a query to display a count of the number of times each computer has been checked out, including zeros for those that have not yet been checked out. Include each computer's ID and the number of times it has been checked out. You may either write the query in SQL code or fill in the appropriate fields in the blank QBE design grid that follows the tables. The blank QBE design grid includes the Total line in case the query requires it; if the query does not use it, be sure to cross it off.     A database includes the following tables. Design a query to display a count of the number of times each computer has been checked out, including zeros for those that have not yet been checked out. Include each computer's ID and the number of times it has been checked out. You may either write the query in SQL code or fill in the appropriate fields in the blank QBE design grid that follows the tables. The blank QBE design grid includes the Total line in case the query requires it; if the query does not use it, be sure to cross it off.

(Essay)
4.8/5
(35)

What will be the result of the following Microsoft Access QBE query of the CashDisbursement table? What will be the result of the following Microsoft Access QBE query of the CashDisbursement table?

(Essay)
4.9/5
(43)

SUM, MAX, and COUNT are examples of aggregation functions that may be included in both SQL and QBE queries.

(True/False)
4.8/5
(39)

List the four types of JOINS that can be used in querying to combine data from multiple relational database tables. Explain how each type of JOIN works.

(Essay)
4.8/5
(33)

Relational algebra is most often used in practice to

(Multiple Choice)
5.0/5
(27)

Microsoft Access uses only a QBE method for query creation.

(True/False)
4.7/5
(28)

What will be the result of the following SQL statement applied to the CashDisbursement table? CashDisbursement What will be the result of the following SQL statement applied to the CashDisbursement table? CashDisbursement    SELECT Sum(Amount) FROM CashDisbursement WHERE Date <=2/05/2010 OR PayeeID > 40204; SELECT Sum(Amount) FROM CashDisbursement WHERE Date <=2/05/2010 OR PayeeID > 40204;

(Short Answer)
4.8/5
(37)

You can perform a right outer join on tables that do not share a common field.

(True/False)
4.7/5
(30)
Showing 1 - 20 of 55
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)