Hard Fought Battle-Lincoln Heaven
Hard Fought Battle-Lincoln Heaven
1. For each table find/determine the following by filling in the field names [10 Marks]
2. After looking at the tables, their data and data types & determining Primary Keys and such, you are now
required to create relationships between the tables. [10 Marks]
Using the given tables and data, create the following queries by filling in field names, table names, criteria and such
Design a query that will display all employees living in Kingston, St. Andrew or St. Catherine. [3 Marks]
Criteria Kingston,St.Andrew
OR St.Catherine
Design a query that will display all employees who are not staff. [3 Marks]
Criteria Part-Time
OR Contract
Use a query to show employees who have been with the company less than 5 years [3 Marks]
Criteria >
DateAdd("2024",
-5, Date())
OR
Create a query to show all employees living in Kingston with dependents. [3 Marks]
Display all employees whose last name end with the letter R [3 Marks]
Criteria *R
OR
Design a query that will display employees who are Staff, Monthly Paid, make no O/T and earn between $80000 and
$90000 [4 Marks]
1. Which of the following is NOT a data type in 3. A unique identifier made of multiple fields from
Microsoft Access? a record
a. Hyperlink a. Primary key
b. Calculated b. Secondary key
c. Attachment c. Composite key
d. Numeric d. Candidate key
2. An appropriate field size for EMPID in the 4. A field that can be used to ALSO uniquely
EMPLOYEES TABLE? identify a record
a. 4 a. Primary Key
b. 5 b. Secondary key
c. 6 c. Composite Key
d. 7 d. Candidate key
7. A query has __ different VIEWS 10. A field in a table that appears as the primary key
a. 2 in another table
b. 3 a. Foreign key
c. 4 b. Candidate key
d. 5 c. Secondary key
d. Composite key
A relational database is composed of the following 4 objects, that all work together with the same data.
A relational database stores data in a number of related files, more commonly referred to as ____Tables_______.
______Queries______ are used to ask detailed questions of the database when searching for records that satisfy
particular conditions.
____Reports________ display fields extracted from ___Tables__________ in a particular order.
______Form______ use a graphical representation to allow users to enter, modify, delete and view records in the
database.