Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Sqlyog queries for the following: List average salary of each job. Find average and sum of all the salaries of each job excluding clerks.

Write Sqlyog queries for the following:

  1. List average salary of each job.
  2. Find average and sum of all the salaries of each job excluding clerks.
  3. Find average and sum of the salaries of each job excluding salesmen', clerk' and 'manager'.
  4. Find count, sum and average salaries of each job excluding salesmen', clerk' and 'manager'.
  5. List average salary of each department.

Step by Step Solution

3.47 Rating (163 Votes )

There are 3 Steps involved in it

Step: 1

O select roletitle avgsalary from employeesabc group ... 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

Using Financial Accounting Information The Alternative to Debits and Credits

Authors: Gary A. Porter, Curtis L. Norton

7th Edition

978-0-538-4527, 0-538-45274-9, 978-1133161646

More Books

Students also viewed these Databases questions

Question

=+b) Would you use this model? Explain.

Answered: 1 week ago