Appendix B

Answers to Self Tests

Chapter 1: Introduction to Relational Dataases and SQL

1. What is a database?

A database is a collection of data organized in a structured format defined by metadata that describes the structure.

2. Which of the following objects make up a relation?

A. Data types

B. Tuples

C. Attributes

D. Forms

B and C are the correct answers.

3. A(n) ____________ is a set of data whose values make up an instance of each attribute defined for that relation.


4. What are the differences between the first normal form and the second normal form?

According to the first normal form, each attribute of a tuple must contain only one value, each tuple in a relation must contain the same number of values, and each tuple in a relation ...

Get SQL: A Beginner's Guide, Fourth Edition, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.