Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Computer Assignment 1 on Access Database Part 1 ( 6 0 pts ) Create Queries Queries a , b , c , d , e

Computer Assignment 1 on Access Database
Part 1(60 pts) Create Queries
Queries a, b, c, d, e, and f require Computer Assignment 1 database file
a) List the FirstName, LastName, and Phone Number of customers who cancelled their Furniture Orders. Furniture is a category in the Products Table (Save the Query as Q1).
b) Create a query that displays number of orders, total and average values of orders by Region Name. Value is a calculated field and is obtained by multiplying Price with Quantity (Save the Query as Q2).
c) Create a query that lists employees first name, last name, salary, FICA, and Withholding. FICA and Withholding are calculated fields. FICA =6.75% of Salary and Withholding =20% of Salary. Name FICA and Withholding as FICA and Withholding (Save the Query as Q3).
d) List the first name, and last name of customers where the third character in the last name is e (Save the Q4).
e) Create a parameter query to list employees first name, last name, salary, and date hired by Department. Department name to be entered at run time (Save the Query as Q5).
f) List First Name, Last Name, and Salary of employees with a job rating of <=2 OR making more than $88,000(Save the Query as Q6). Sort the salary in Ascending order.
Part 2(40 pts) Creating Tables
Create two tables, DEPARTMENT and WORKER in Computer Assignment 1 database file.
DEPARTMNENT table contains the following fields:
DeptID, DeptName, and NumberOfWorkers.
WORKER table contains the following fields:
WorkerID, WorkerName, Date_Hired, Salary, and DeptID. DeptID is a foreign key.
Define Primary keys for the two table
Enforce referential integrity between them.
Use appropriate data type for the fields.
Rules
i) DeptId is a Text field, size 3 bytes. First two characters are upper case letters, and third character is a digit.
ii) Salary cannot be greater than $100,000.
iii) Date_Hired must be less than the current date
iv) WorkerName cannot be blank

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students explore these related Databases questions

Question

Why is the tangent portfolio so important?

Answered: 3 weeks ago