Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the following queries using the names shown (i.e., including the leading number 1, 2, etc.): 1-NUMBER OF EMPLOYEES BY DEPARTMENT: answers the question, How

Create the following queries using the names shown (i.e., including the leading number 1, 2, etc.):

1-NUMBER OF EMPLOYEES BY DEPARTMENT: answers the question, "How many employees work for each department?" Include fields: NUMBEROFEMPLOYEES, DEPARTMENT.

2-TOTALPAY BY DEPARTMENT: answers the question, "How much total salaries are paid to each department?" Include fields: DEPARTMENT and a calculated field called TOTALPAY defined as HOURS*PAYBYHOUR.

3-TOTALPAY BY EMPLOYEE: answers the question, "What are the salaries paid to each employee?" Include fields: EMPLOYEEID, DEPARTMENT, WORKDATE, WORKCODE, WORKCODES. WORKNAME, HOURS, PAYBYHOUR, and a calculated field called TOTALPAY defined as HOURS*PAYBYHOUR.

And I am not sure this relation is 100% correct.

image text in transcribed

Search... Tables E EMPLOYEES 3 PAYBANDS E TIMESHEETS EMPLOYEES PAYBANDS WORKCODES WORKCODES PAYBAND ZONE PAYBYHOUR JOBTITLE TIMESHEETS 1 Employeeld 1 WorkDate 1 WorkCode Hours 1 WorkCode WorkName Description Employeeld LastName FirstName JobTitle PAYBAND ZONE Department Street City State Zip Code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions