Accounting Chapter 4 Homework Query Setup Group This Indicates Access Only Return The Top Result See

subject Type Homework Help
subject Pages 9
subject Words 726
subject Authors Marshall B. Romney, Paul J. Steinbart

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Ch. 4: Relational Databases
4-32
4.9 Create relational tables that solve the update, insert, and delete anomalies in Table 4-18.
TABLE 4-18
Purchase
Order #
Purchas
e Order
Date
Par
t #
Description
Unit
Price
Quantity
Ordered
Vendor
#
Vendor
Name
2
3/9/15
334
XYZ
$30
3
504
KL Supply
PART TABLE
Part # (PK)
Description
Unit Price
PURCHASE ORDER TABLE
Purchase Order # (PK)
Vendor # (FK)
Purchase Order Date
2
504
3/9/15
3
889
4/5/15
VENDOR TABLE
Vendor # (PK)
Vendor Name
Vendor Address
PURCHASE-PART TABLE
Purchase Order #
(PK/FK)
Part # (PK/FK)
Quantity Ordered
2
334
3
Note: PK-Primary Key, FK Foreign Key, PK/FK Primary Key/Foreign Key
page-pf2
Accounting Information Systems
4-33
4.10 From the database created in the comprehensive problem, perform queries based on the
tables and query grid shown in Table 4-19.
The queries and the answers to the queries for the questions about the comprehensive problem data
(Table 4-19) are shown below.
a. Which borrowers use Advent Appraisers?
Query
Query Result
page-pf3
Ch. 4: Relational Databases
4-34
b. What is the average amount borrowed from National Mortgage?
Query
Query Result
page-pf4
Accounting Information Systems
4-35
c. List all of the property appraisers.
Query
Query Result
page-pf5
Ch. 4: Relational Databases
4-36
d. List all of the lenders.
Query
Query Result
Query
page-pf6
Accounting Information Systems
4-37
e. List the lenders that lent more than $100,000.
NOTE: In order to get a list of lenders without duplicates the property sheet of the query needs to be
modified by setting the value of the Unique Values property to Yes. This can be seen in the screenshot
below. The property sheet is found under the Design tab of the ribbon. Setting Unique Values to Yes is
the equivalent of entering the DISTINCT keyword in SQL select statements.
page-pf7
Ch. 4: Relational Databases
4-38
Query Result
page-pf8
Accounting Information Systems
4-39
f. Which borrower requested the largest mortgage?
Query
Notice that in the Design section on the ribbon, you must set the Return value to 1 (located in the Query
Setup group). This indicates to Access to only return the top result. See the image below for a screenshot
of this.
Query Result
page-pf9
Ch. 4: Relational Databases
4-40
g. Which borrower requested the smallest mortgage?
Query
Query Result
As with problem 4-10-f, you must set the Return value to 1 in the Design section of the ribbon
page-pfa
Accounting Information Systems
4-41
SUGGESTED ANSWERS TO THE CASES
4.1 As in all areas of information technology, DBMSs are constantly changing and improving.
Research how businesses are using DBMSs, and write a report of your findings. Address the
following issues:
1. Which popular DBMS products are based on the relational data model?
2. Which DBMS products are based on a logical model other than the relational data
model?
3. What are the relative strengths and weaknesses of the different types (relational versus
other logical models) of DBMSs
Many newer products are based on the object-oriented data model, or are a hybrid of the
relational and object-oriented approaches. Older mainframe DBMS are based on hierarchical
or network logical models.

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.