You are on page 1of 1

CIS-145 Homework #5 Name:_____________

In this homework assignment, you will work with queries using multiple tables. Turn in a
folder with this instruction sheet and any print outs required. Make sure your name is on the
folder and this sheet. Copy the database to the dropbox. Make sure you keep a copy of the
database. 25 points
Using your database from Homework #4, make any needed corrections to the
tables identified in class review of Homework #4 before you begin. Make sure data
is entered in all tables.
Query 1: CIS Query 3 points
Create a query that selects CIS classes and sorts the results by course number. Include all
fields in the results. Save the query as Query 1 CIS Classes.
Query 2: Credits Query 3 points
Create a query that selects all classes that are less than five credits. Include all fields in the
results. Save the query as Query 2 Classes Less than Five Credits.
Query 3: Formula Query 4 points
Create a query that displays the Department and Course Number fields as one calculated
field. Display the calculated field, class title, assignment type, assignment number, and
possible points for Business and Math classes. Save the query as Query 3 Class Assignment
List.
Query 4: Total Query 4 points
Create a totals query that calculates the possible points by class. Include the calculated field
(sum of possible points) and the Department, Course Number, Item Number, and Quarter
fields in the results, and sort the results by Department. Save the query as Query 4 Points
by Class.
Query 5: Total Query 5 points
Create a totals query that calculates the credits earned by student (similar to the table
below). Save the query as Query 5 Credits By Student.

Student ID Student Name Total Credits


000-00-0000 Olive Oyle 20

100-10-1000 Mighty Mouse 30

987-65-4321 Tony Roma 25

Query 6: Cross Tab Query 6 points


Create a query that displays by department the number of times a student is enrolled in
that department’s classes. Save the query as Query 6 Enrollments by Department.

Student ID Student Name Business CIS Math


000-00-0000 Olive Oyle 2 3 0

100-10-1000 Mighty Mouse 1 1 4

987-65-4321 Tony Roma 4 1 0

Extra Credit
Create a parameter query that displays the students who have enrolled in courses for a
particular department. 3 points
Create a make table query that writes all CIS classes to a new table named IT Classes. Run
an update query on the new table that updates CIS to IT. 3 points

6/23/09

You might also like