Answered step by step
Verified Expert Solution
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 on Access Database
Part pts Create Queries
Queries a b c d e and f require Computer Assignment 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 Q
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 Q
c Create a query that lists employees first name, last name, salary, FICA, and Withholding. FICA and Withholding are calculated fields. FICA of Salary and Withholding of Salary. Name FICA and Withholding as FICA and Withholding Save the Query as Q
d List the first name, and last name of customers where the third character in the last name is e Save the Q
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 Q
f List First Name, Last Name, and Salary of employees with a job rating of OR making more than $Save the Query as Q Sort the salary in Ascending order.
Part pts Creating Tables
Create two tables, DEPARTMENT and WORKER in Computer Assignment database file.
DEPARTMNENT table contains the following fields:
DeptID, DeptName, and NumberOfWorkers.
WORKER table contains the following fields:
WorkerID, WorkerName, DateHired, 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 bytes. First two characters are upper case letters, and third character is a digit.
ii Salary cannot be greater than $
iii DateHired 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started