BCIS 3610

profilenathanqiu
BCIS3610-Assignment1.docx

BCIS 3610 - Assignment 1

Due Date: 10/25/2018 11:59pm 80 Points

Tasks:

1. Import the Department and Employee tables into Access. (10 points)

a. Use TableName_<your EUID> as the naming convention for the tables: For example, my EUID is ks0776; I will name the tables as Department_ks0776 & Employee_ks0776

2. Establish a relationship between tables in MS Access. (10 points)

3. Answer the following questions by writing SQL statements in MS Access:

a. Find all employees working in Westlake who make $100,000 or more in salary. Sort your data by Salary in a descending order. (10 points)

b. Find all employees who have ‘Director’ or ‘VP’ in their titles. This should include Sr. Directors and SVPs as well. (10 points) Hint: Use LIKE. Note that MS Access does not use ANSI SQL, hence the wildcard characters used in MS Access are different. Please follow https://www.techonthenet.com/access/queries/like2007.php for details.

c. Generate the count of employees and average salaries by Department for the departments where the average salary is greater than $70,000. The outcome should look something like: (the numbers below are just examples…your numbers will be different). Make sure that you use the Column headers shown in the outcome. (15 points) Department EmployeeCount Avg.Salary Accounting 10 98500 Finance 8 88300 Sales 6 105010 ……….additional rows in the outcome

d. Generate a list of all employees with their names, titles, salaries, department names, and Department City. Note, the outcome should include all employees regardless of whether they belong to a department or not. (10 points)

e. Generate a list of all employees from Accounting or Finance departments who are 50 years or older, and are making more than $75,000. Hint: You will have to use the DOB and the Date() function to calculate the age. (15 points)

Deliverables:

· You are required to upload a .Zip file to Canvas. The file should contain the following:

1. Your MS Access database

2. A Word document with snapshots for the solution and outcome of each question. You can use ‘Snipping Tool’ on Windows machines to take the snapshots. For the queries, please ensure that you provide a snapshot of the completely typed query and the query outcome.

Deadline:

· The deadline for submission is 10/25/2018 11:59pm. There is a 10-point penalty per day past the due date. NO EXCEPTIONS.

· DO NOT wait till the last minute to upload the assignment to Canvas. You will lose 20 points for emailed assignments to the instructor or TA. The instructor or TA are not responsible for technical difficulties with your laptop, network speed, or Canvas availability.

· If you DO NOT follow the naming convention mentioned in 1(a), you will lose 40 points for the assignment.

· In case if you encounter a technical problem, it is your responsibility to seek help from the TA. Remember the 3 before me rule mentioned in the syllabus. The TA can only provide generic help; please do not expect the TA to solve the assignment for you.

· The instructor reserves the right to use assignment questions in the exam – please do your assignment yourself.

· You will receive a ZERO for the assignment for plagiarism. Plagiarism cases will be handled in accordance to the Student Academic Integrity policy. You can find a copy of the policy at: https://policy.unt.edu/policy/06-003

Page 2 | 2