Ans: False. The primary key can be any column or combination of columns in the table.
PersonData | |||
---|---|---|---|
FirstName | ID | Gender | Age |
Judy | 5555 | F | 27 |
Shawn | 2222 | M | 31 |
Alice | 8888 | F | 36 |
Ans: Access would not show an error if Age were used as the primary key because all the Age fields are different. However, Age would not be a good to use for a primary key because the ages of two persons in the table could easily be the same if more rows were added.
Ans: Importing into an Access database means taking the data in a .txt or .xls file and converting it to an Access table. Exporting means taking an Access table and converting it to some other format (like .txt or .xls).
Problem a:
Field: | CanDrive | CanSwim |
Sort: | ||
Criteria: | Yes | No |
Problem b:
Field: | CanSwim | AgeLearnedToSwim |
Sort: | ||
Criteria: | Yes | >16 |
Problem c:
Field: | CanDrive | CanSwim | AgeLearnedToSwim |
Sort: | |||
Criteria: | Yes | Yes | >[AgeLearnedToDrive] |
Persons Name PK Gender |
PhoneNumbers PhoneType Number PK Name FK |
AirlineReservations FlightNumber PK Origin Destination DayOfWeek Departure Arrival |
Passengers Seat PK Name Phone FlightNumber FK |
Consider the Patients and Doctors tables in Section J of the Access Tutorial. To form the join of these tables, form rows consisting of all fields from both tables, subject to the relationship that DoctorId from the Doctors table is equal to the DoctorID from the Patients table. This forms a relationship that relates one doctor to many patients (one-to-many relationship). The result is the third table in Section J, the Join of Doctors and Patients.
Field: | Name | DoctorID | DoctorName |
Table: | Patients | Doctors | Doctors |
Sort: | Ascending | ||
Show: | Checked | Checked | Checked |
Ans:
Field: | Weight |
Table: | Pet |
Total: | Ave |
Sort: | |
Show: | Checked |
Criteria: | |
or: |
Field: | Weight | Weight |
Table: | Pet | Type of Animal |
Total: | Ave | Group By |
Sort: | ||
Show: | Checked | Checked |
Criteria: | ||
or: |
Field: | Weight | Weight |
Table: | Pet | Type of Animal |
Total: | Ave | Group By |
Sort: | ||
Show: | Checked | Checked |
Criteria: | ||
or: |
Field: | Weight | Weight |
Table: | Pet | Type of Animal |
Total: | Ave | Group By |
Sort: | ||
Show: | Checked | Checked |
Criteria: | ||
or: |
Field: | Weight | Weight |
Table: | Pet | Type of Animal |
Total: | Ave | Group By |
Sort: | ||
Show: | Checked | Checked |
Criteria: | ||
or: |