Professional Documents
Culture Documents
Database Management Review Questions Chapter 2 Ryan Scott
Database Management Review Questions Chapter 2 Ryan Scott
1. What is a relation?
is a situation that exists between two relational database tables when one table has a foreign
key that references the primary key of the other table. Relationships allow relational databases
to split and store data in different tables, while linking disparate data items.
2. What is a relational database?
A database consisting of more than two related tables. The relationship between the tables is
created by placing a primary key of the primary in to the secondary table. ... Database tables
stores in rows and records in an organised. It is also known as Entity.
3. What is an unnormalized relation? Is it a relation according to the definition of the word
relation?
An unnormalized relation is a structure that satisfies all the properties of a relation except the
restriction that entries must be single valued. No, It is not a relation according to the definition.
4. How is the term attribute used in the relational model? What is a more common name for
attribute?
In the relational model an atribute is a property of an entity. Atribute is another term for a
column in a table. It is also commonly called a field.
5. Describe the shorthand representation of the structure of a relational database. Illustrate
this technique by representing the database for Colonial Adventure Tours shown in Figures 1-
15 through 1-19 in Chapter 1.
In the short-hand representation, each table is listed, and after each table, all the columns of
the table are listed in parentheses. Primary keys are underlined. The short-hand representation
For Colonial Adventure Tours database is as Follows:Guide (GuideNum, LastName, ±irstName,
Address, City, State, PostalCode, PhoneNum, HireDate)
6. What does it mean to qualify a field name? How would you qualify the Street field in the
Customer table?
To qualify a field name, one combines a column name and a table name. To qualify the Street
Field in the customer table, one would type Customer.street.
7. What is a primary key? What is the primary key for each table in the Colonial Adventure
Tours database shown in Figures 1-15 through 1-19 in Chapter 1?
A primary key is the column or columns that uniquely identifies a given row in that table.Fig. 1-
15: GuideNumFig. 1-16: TripIDFig. 1-17: CustomerNumFig. 1-18: ReservationIDFig. 1-19: TripID
8. How do you include a field in an Access query?
Add the field to the design grid. In Access, double-click the filed in the field list to place it in the
design grid.
9. How do you indicate criteria in an Access query?
To add criteria to an Access query, open the query in Design view and identify the fields
(columns) you want to specify criteria for. If the field is not in the design grid, double-click the
field to add it to the design grid and then enter the criterion in the Criteria row for that field.
10. How do you use an AND criterion to combine criteria in an Access query? How do you use
an OR criterion to combine criteria?
To use an AND criterion, place the criteria for multiple fields in the same row of the design grid.
For an OR criterion, place the criteria for multiple fields on DIFFERENT Criteria rows in the
design grid.
11. How do you create a computed field in an Access query?
12. In which row of the Access design grid do you include functions? What functions can you
use in Access queries?
13. How do you sort data in an Access query?
One must specify the sort order (ascending or descending) in the Sort row of the design grid
(click the sort row arrow and then select the desired sort order)
14. When sorting data on more than one field in an Access query, which field is the major sort
key? Which field is the minor sort key? What effect do these keys have on the order in which
the rows are displayed?
The sort key on the left is the major sort key and the sort key on the right will be the minor sort
key. The keys effect the placement of the rows on the screen.
15. How do you join tables in an Access query?
Create a query and add the two tables for the unequal join...Add the output fields you want.
Add the join field from the first table, and clear the check box in the Show row.