Question
Write in SQL Language 1) For each department get the average salary for men and women, output should be department name, avg for men, avg
Write in SQL Language
1) For each department get the average salary for men and women, output should be department name, avg for men, avg for women
2) Get the minimum, average, and maximum salary in each department. Only show the department name. The names of the columns in the output table should be: "Department name", "Minimum salary", "Average salary", and "Maximum salary
3) Show the distinct titles and the number of employees with that title in the customer service department. The output should look like a table with these columns: "Title", Number"
4) Show a list of managers in each department, sorted by the date they started working with their current title. The output should have these columns: "Department Name", "Manager Name", "Title", from-date"
I just need to know how the set up will look. The sql contains 4000 pages of tables, I can't post all of it on here.
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