Skip to main content

Test Bank For A Guide to SQL, 8th Edition

Page 1

Chapter 1: Introduction to Premiere Products, Henry Books, and Alexamara Marina Group TRUE/FALSE 1. Premiere Products sells appliances, toys, and kitchen gadgets. ANS: F

PTS: 1

REF: 2

2. An example of a relationship between categories is the relationship that exists in the Premiere Products database between sales reps and customers. ANS: T

PTS: 1

REF: 2

3. At Premiere Products, the body of the order contains the order number and date; the customer’s number, name, and address; and the sales rep number and name. ANS: F

PTS: 1

REF: 3

4. At Premiere Products, the three sections of an order are the heading, body, and footing. ANS: T

PTS: 1

REF: 3

5. The overall order total is stored in the Premiere Products database. ANS: F

PTS: 1

REF: 3

6. The customer’s name and address and the number of the sales rep who represents the customer are stored with sales rep information. ANS: F

PTS: 1

REF: 3

7. The part description is stored with the information about parts. ANS: T

PTS: 1

REF: 3

8. All the sales representatives at Premiere Products get the same commission rate. ANS: F

PTS: 1

REF: 4

9. Each row in the ORDER_LINE table has an order number, part number, number ordered, quoted price, and total amount. ANS: F

PTS: 1

REF: 5


10. The Premiere Products database includes four tables. ANS: F

PTS: 1

REF: 4|5

11. The ORDER_LINE table in the Premiere Products database contains information about the date an order was placed. ANS: F

PTS: 1

REF: 5

12. In some database systems, the word “order” has a special purpose. ANS: T

PTS: 1

REF: 6

13. Because Premiere Products wants the flexibility to quote and charge different prices to different customers, the QUOTED_PRICE column is included in the ORDER_LINE table. ANS: T

PTS: 1

REF: 8

14. Each branch of Henry Books has a number that uniquely identifies the branch. ANS: T

PTS: 1

REF: 8

15. The Henry Books database uses a two-digit number to represent the publisher code. ANS: F

PTS: 1

REF: 9

16. In the Henry Books database, the AUTHOR table contains the author's number, name, and address. ANS: F

PTS: 1

REF: 10

17. Each author is uniquely identified by his or her AUTHOR_NUM. ANS: T

PTS: 1

REF: 10

18. The BOOK table at Henry Books includes the author number. ANS: F

PTS: 1

REF: 11

19. The WROTE table in the Henry Books database relates publishers and books. ANS: F

PTS: 1

REF: 12

20. The INVENTORY table at Henry Books includes a column that stores the number of books on hand. ANS: T

PTS: 1

REF: 12


21. The BRANCH table is used to indicate the number of copies of a particular book that are currently on hand at a particular branch of Henry Books. ANS: F

PTS: 1

REF: 12

22. The AUTHOR table is used to relate books and authors. ANS: F

PTS: 1

REF: 12

23. In the Henry Books database, the table named BOOK contains information about whether or not a book is available at a particular branch. ANS: F

PTS: 1

REF: 12

24. In the WROTE table of the Henry Books database, the SEQUENCE field indicates the order in which the authors of a particular book are listed on the cover. ANS: T

PTS: 1

REF: 12

25. The INVENTORY table in the Henry Books database includes data on books and branches. ANS: T

PTS: 1

REF: 12

26. The Alexamara Marina Group database uses a combination of letters and numbers to represent an owner number. ANS: T

PTS: 1

REF: 15

27. Alexamara provides a variety of boat repair and maintenance services to the boat owners. ANS: T

PTS: 1

REF: 15

28. At Alexamara Marina Group, marina slips are numbered within each section. ANS: T

PTS: 1

REF: 15

29. The LENGTH column in the MARINA_SLIP table in the Alexamara Marina Group stores the length of the boat in meters. ANS: F

PTS: 1

REF: 16

30. A category name uniquely identifies each service that Alexamara performs. ANS: F MULTIPLE CHOICE

PTS: 1

REF: 16


1. Premiere Products sells ____. a. books b. residential and commercial property c. appliances, housewares, and sporting goods d. electronic products ANS: C

PTS: 1

REF: 2

2. The order line in a Premiere Products order form contains a total that is called a(n) ____. a. footing c. trailer b. extension d. sum ANS: B

PTS: 1

REF: 3

3. Each line in the Premiere Products order form contains a part number, the number of units of the ordered part, the quoted price, and ____. a. wholesale price c. part weight b. part description d. part color ANS: B

PTS: 1

REF: 3

4. How many tables make up the Premiere Products database? a. 4 c. 6 b. 5 d. 7 ANS: B

PTS: 1

REF: 4|5

5. The REP table consists of the sales representatives’ number, last name, first name, address, total commission, and ____. a. total sales c. customers b. commission rate d. order number ANS: B

PTS: 1

REF: 4

6. The ORDERS table consists of the order number, order date, and ____. a. part number c. customer number b. number ordered d. unit price ANS: C

PTS: 1

REF: 5

7. When designing tables a ____ structure is preferred. a. complex c. detailed b. simple d. complete ANS: B

PTS: 1

REF: 7

8. Combining the ORDER_LINE and ORDERS tables will ____. a. save space in the table c. increase space in the table


b. make the table more effective ANS: D

PTS: 1

d. make the table more complicated REF: 7

9. Each book at Henry Books is uniquely identified with a(n) ____. a. title c. publisher b. code d. author ANS: B

PTS: 1

REF: 10

10. Each publisher has a ____ that uniquely identifies the publisher at Henry Books. a. city c. name b. number d. code ANS: D

PTS: 1

REF: 9

11. The BRANCH, PUBLISHER, and ____ tables are part of the Henry Books Database. a. SALES c. AUTHOR b. LOCATION d. PART ANS: C

PTS: 1

REF: 9|10

12. The ____ table indicates the number of copies of a particular book that are currently on hand at a particular branch of Henry Books. a. BOOKS c. INVENTORY b. BRANCH d. WROTE ANS: C

PTS: 1

REF: 12

13. Which of the following tables relates books to authors? a. BOOK c. WROTE b. AUTHOR d. INVENTORY ANS: C

PTS: 1

REF: 12

14. The ____ field of the WROTE table of Henry Books indicates the order in which the authors of a particular book are listed on the cover. a. ORDER c. ORDERS b. SEQUENCE d. NUMBER ANS: B

PTS: 1

REF: 12

15. Alexamara provides boat maintenance service for owners at its two marinas. The SERVICE_CATEGORY table contains a ____. a. slip ID c. description of the category b. marina number d. marina name ANS: C

PTS: 1

16. Alexamara owns ____ marinas.

REF: 16


Turn static files into dynamic content formats.

Create a flipbook
Test Bank For A Guide to SQL, 8th Edition by AnswerDone - Issuu