Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL Queries Homework, Create the following queries using the names shown (i.e., including the leading number 1, 2, etc.): 1. TOTALPAY BY EMPLOYEE: answers the

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

1. 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.

2. TOTALSALARIES: answers the question, "What is the total amount salaries paid"?

Please tell me the specific content that needs to be input.

Thank you so much.

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 to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is database?

Answered: 1 week ago

Question

What are Mergers ?

Answered: 1 week ago