|
1. |
|
|
|
2. |
Which type of table relationship
|
|
|
3. |
What type of key can be used to enforce referential integrity between two tables in a database? |
|
|
4. |
What are some reasons why using a spreadsheet is not a good alternative to using a large-scale database? |
|
|
5. |
What are some of the benefits of abstraction in an object-relational database management system? |
|
|
6. |
What object-relational feature of Oracle eases the transition between relational and object-relational applications? |
|
|
7. |
What are the three steps in the ERA process for database design? |
|
Answers
|
1. |
The table is the most important element of a relational database and it consists of rows and
|
|
2. |
A many-to-many relationship associates more than one record in a table with more than one record in another table. |
|
3. |
A foreign key can be used to enforce referential integrity between two tables. |
|
4. |
Some reasons why a spreadsheet is not a good alternative to a large-scale database are that it’s difficult to use for multiple users, it does not offer transaction control, the
|
|
5. |
In an object-relational database management system, new datatypes can be created as aggregates of existing datatypes and other new datatypes, enhancing standards adherence and reusability. |
|
6. |
Object views allow the developer to define an object-oriented structure over an existing relational database table, thus easing the transition between relational and object-relational applications. |
|
7. |
The three steps in the ERA (entities, relationships, attributes) design process are to define the entities, then define the relationships between the entities, and then define the attributes of the entities. After one pass through all three steps, one or more iterations may be necessary. |
abstract datatypes
associative table
column
data modeling
encapsulation
field
foreign key
inheritance
intersection table
many-to-many relationship
object view
object-relational database
one-to-many relationship
one-to-one relationship
primary key
referential integrity
relation
relational database
row
table
This chapter begins with a few
You will also find out about how to make changes to the rows in a table by using insert, update, and delete statements. In the remainder of the chapter, you will explore various ways to change the structure of tables in the database as well as control the permissions on tables.
A database engine is the part of an RDBMS that actually stores and retrieves data to and from the data files. The database engine is not very useful unless you can send SQL (Structured Query Language) commands to it and receive the results from those SQL commands (if any).
SQL (Structured Query Language)
The
industry-standard database language used to query and manipulate the data, structures, and permissions in a relational database.
| Note |
“SQL” is usually pronounced “sequel”, but if you refer to “S-Q-L” in a conversation with other database developers and DBAs, they will
|
It is also important to separate the SQL commands from the command processor itself. For example, Oracle’s SQL*Plus client tool (available on virtually any platform that the Oracle server itself runs on) has a number of other “built-in” commands that look like SQL commands, but