SlideShare a Scribd company logo
4121203A LAB 6
Functions
This lab covers the following topics:
o Various types of functions that are available in SQL
o Aggregate functions and GROUP BY clause
o Include or exclude grouped rows by using the HAVING clause
In this practice, you will build more complex reports, including statements that
use the various types of functions e.g. basic calculation, date/time, or string functions.
Also, queries which are related to the aggregation functions will be investigated.
Finally, the joins between two or more tables will be built.
The HR department needs your assistance with creating some queries.
1. Write a query to display the current date. Label the column Date.
_______________________________________________
_______________________________________________
____________________________________________
2. The HR department needs a report to display the employee number, last name,
salary, and salary increased by 15.5% (expressed as a whole number) for each
employee. Label the column New Salary.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
3. Modify your query 2 to add a column that subtracts the old salary from the
new salary. Label the column Increase.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
4. Write a query that displays the last name (with the first letter uppercase and all
other letters lowercase) and the length of the last name for all employees
whose name starts with the letters J, A, or M. Give each column an appropriate
label. Sort the results by the employees’ last names.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
5. The HR department wants to find the length of employment for each
employee. For each employee, display the last name and calculate the number
of months between today and the date on which the employee was hired. Label
the column MONTHS_WORKED. Order your results by the number of
months employed. Round the number of months up to the closest whole
number. Note: Your results will differ.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
6. Create a report that produces the following for each employee:
<employee last name> earns <salary> monthly but wants <3 times salary>.
Label the column Dream Salaries.
_______________________________________________
_______________________________________________
_______________________________________________
______________________________________________
7. Find the highest, lowest, sum, and average salary of all employees. Label the
columns Maximum, Minimum, Sum, and Average, respectively. Round your
results to the nearest whole number.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
8. The HR department needs the following reports: Modify the query in 7.sql to
display the minimum, maximum, sum, and average salary for each job type.
_______________________________________________
______________________________________________
_______________________________________________
_______________________________________________
9. Create a report to display the manager number and the salary of the lowest-
paid employee for that manager. Exclude anyone whose manager is not
known. Exclude any groups where the minimum salary is $6,000 or less. Sort
the output in descending order of salary.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________
9. Create a report to display the manager number and the salary of the lowest-
paid employee for that manager. Exclude anyone whose manager is not
known. Exclude any groups where the minimum salary is $6,000 or less. Sort
the output in descending order of salary.
_______________________________________________
_______________________________________________
_______________________________________________
_______________________________________________

More Related Content

Viewers also liked

Effectiveness of freshman seminars
Effectiveness of freshman seminars Effectiveness of freshman seminars
Effectiveness of freshman seminars
windstar2002
 
Effective assessment practices Project
Effective assessment practices ProjectEffective assessment practices Project
Effective assessment practices Project
windstar2002
 
An Introduction to Understanding Life Span Human Development
An Introduction to Understanding Life Span Human DevelopmentAn Introduction to Understanding Life Span Human Development
An Introduction to Understanding Life Span Human Development
windstar2002
 
DLD-LAB-PROPOSAL
DLD-LAB-PROPOSALDLD-LAB-PROPOSAL
DLD-LAB-PROPOSAL
Asim Hafeez Khan
 
DLD Practical Lab Work
DLD Practical Lab WorkDLD Practical Lab Work
DLD Practical Lab Work
Bachagul Ghaljai
 
343logic-design-lab-manual-10 esl38-3rd-sem-2011
343logic-design-lab-manual-10 esl38-3rd-sem-2011343logic-design-lab-manual-10 esl38-3rd-sem-2011
343logic-design-lab-manual-10 esl38-3rd-sem-2011
e11ie
 

Viewers also liked (7)

Effectiveness of freshman seminars
Effectiveness of freshman seminars Effectiveness of freshman seminars
Effectiveness of freshman seminars
 
Effective assessment practices Project
Effective assessment practices ProjectEffective assessment practices Project
Effective assessment practices Project
 
Epi info unit08
Epi info unit08Epi info unit08
Epi info unit08
 
An Introduction to Understanding Life Span Human Development
An Introduction to Understanding Life Span Human DevelopmentAn Introduction to Understanding Life Span Human Development
An Introduction to Understanding Life Span Human Development
 
DLD-LAB-PROPOSAL
DLD-LAB-PROPOSALDLD-LAB-PROPOSAL
DLD-LAB-PROPOSAL
 
DLD Practical Lab Work
DLD Practical Lab WorkDLD Practical Lab Work
DLD Practical Lab Work
 
343logic-design-lab-manual-10 esl38-3rd-sem-2011
343logic-design-lab-manual-10 esl38-3rd-sem-2011343logic-design-lab-manual-10 esl38-3rd-sem-2011
343logic-design-lab-manual-10 esl38-3rd-sem-2011
 

Similar to Lab 06 db

job analysis questionnaire
job analysis questionnairejob analysis questionnaire
job analysis questionnaire
Harve Abella
 
Appendix A
Appendix   AAppendix   A
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel UptonEDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
Daniel Upton
 
Campus website catalogscavengerhunt
Campus website catalogscavengerhuntCampus website catalogscavengerhunt
Campus website catalogscavengerhunt
Vjames12
 
Activity campus website-college catalog
Activity campus website-college catalogActivity campus website-college catalog
Activity campus website-college catalog
sthilms
 
Newspaper unit
Newspaper unitNewspaper unit
Find articles for an academic research paper
Find articles for an academic research paperFind articles for an academic research paper
Find articles for an academic research paper
Jenna Rinalducci
 
Cv
CvCv
Review all of all things methods related student
Review all of all things methods related studentReview all of all things methods related student
Review all of all things methods related student
April Lennox-Hill's Sociology Lessons
 
Lean Manufacturing Exam Questions Mar 2011
Lean Manufacturing Exam Questions Mar 2011Lean Manufacturing Exam Questions Mar 2011
Lean Manufacturing Exam Questions Mar 2011
ExerciseLeanLLC
 
Examen ud6 lengua
Examen ud6 lenguaExamen ud6 lengua
Examen ud6 lengua
Educacion y ciencia
 
Application 2016
Application 2016Application 2016
Application 2016
Emily Bell
 
Business plan outline cdc
Business plan outline   cdcBusiness plan outline   cdc
Business plan outline cdc
San Diego Microfinance Alliance
 
Personal Project Student Guide And Process Journal
Personal Project Student Guide And Process JournalPersonal Project Student Guide And Process Journal
Personal Project Student Guide And Process Journal
International School Geneva
 
EmploymentApplicationFillable
EmploymentApplicationFillableEmploymentApplicationFillable
EmploymentApplicationFillable
Jorge Luis Torres
 
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Daniel Upton
 
Data Vault: What is it? Where does it fit? SQL Saturday #249
Data Vault: What is it?  Where does it fit?  SQL Saturday #249Data Vault: What is it?  Where does it fit?  SQL Saturday #249
Data Vault: What is it? Where does it fit? SQL Saturday #249
Daniel Upton
 
Apostila 03
Apostila 03Apostila 03
Apostila 03
Rosangela Ferreira
 
Resume worksheet
Resume worksheetResume worksheet
Resume worksheet
Armando Castillo
 
EmploymentApplicationFillable
EmploymentApplicationFillableEmploymentApplicationFillable
EmploymentApplicationFillable
Lindsey Forrester
 

Similar to Lab 06 db (20)

job analysis questionnaire
job analysis questionnairejob analysis questionnaire
job analysis questionnaire
 
Appendix A
Appendix   AAppendix   A
Appendix A
 
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel UptonEDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
 
Campus website catalogscavengerhunt
Campus website catalogscavengerhuntCampus website catalogscavengerhunt
Campus website catalogscavengerhunt
 
Activity campus website-college catalog
Activity campus website-college catalogActivity campus website-college catalog
Activity campus website-college catalog
 
Newspaper unit
Newspaper unitNewspaper unit
Newspaper unit
 
Find articles for an academic research paper
Find articles for an academic research paperFind articles for an academic research paper
Find articles for an academic research paper
 
Cv
CvCv
Cv
 
Review all of all things methods related student
Review all of all things methods related studentReview all of all things methods related student
Review all of all things methods related student
 
Lean Manufacturing Exam Questions Mar 2011
Lean Manufacturing Exam Questions Mar 2011Lean Manufacturing Exam Questions Mar 2011
Lean Manufacturing Exam Questions Mar 2011
 
Examen ud6 lengua
Examen ud6 lenguaExamen ud6 lengua
Examen ud6 lengua
 
Application 2016
Application 2016Application 2016
Application 2016
 
Business plan outline cdc
Business plan outline   cdcBusiness plan outline   cdc
Business plan outline cdc
 
Personal Project Student Guide And Process Journal
Personal Project Student Guide And Process JournalPersonal Project Student Guide And Process Journal
Personal Project Student Guide And Process Journal
 
EmploymentApplicationFillable
EmploymentApplicationFillableEmploymentApplicationFillable
EmploymentApplicationFillable
 
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
Enhancing Dashboard Visuals with Multi-Dimensional Expressions (MDX)
 
Data Vault: What is it? Where does it fit? SQL Saturday #249
Data Vault: What is it?  Where does it fit?  SQL Saturday #249Data Vault: What is it?  Where does it fit?  SQL Saturday #249
Data Vault: What is it? Where does it fit? SQL Saturday #249
 
Apostila 03
Apostila 03Apostila 03
Apostila 03
 
Resume worksheet
Resume worksheetResume worksheet
Resume worksheet
 
EmploymentApplicationFillable
EmploymentApplicationFillableEmploymentApplicationFillable
EmploymentApplicationFillable
 

Recently uploaded

Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 

Recently uploaded (20)

Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 

Lab 06 db

  • 1. 4121203A LAB 6 Functions This lab covers the following topics: o Various types of functions that are available in SQL o Aggregate functions and GROUP BY clause o Include or exclude grouped rows by using the HAVING clause In this practice, you will build more complex reports, including statements that use the various types of functions e.g. basic calculation, date/time, or string functions. Also, queries which are related to the aggregation functions will be investigated. Finally, the joins between two or more tables will be built. The HR department needs your assistance with creating some queries. 1. Write a query to display the current date. Label the column Date. _______________________________________________ _______________________________________________ ____________________________________________ 2. The HR department needs a report to display the employee number, last name, salary, and salary increased by 15.5% (expressed as a whole number) for each employee. Label the column New Salary. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________ 3. Modify your query 2 to add a column that subtracts the old salary from the new salary. Label the column Increase.
  • 2. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________ 4. Write a query that displays the last name (with the first letter uppercase and all other letters lowercase) and the length of the last name for all employees whose name starts with the letters J, A, or M. Give each column an appropriate label. Sort the results by the employees’ last names. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________
  • 3. 5. The HR department wants to find the length of employment for each employee. For each employee, display the last name and calculate the number of months between today and the date on which the employee was hired. Label the column MONTHS_WORKED. Order your results by the number of months employed. Round the number of months up to the closest whole number. Note: Your results will differ. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________ 6. Create a report that produces the following for each employee: <employee last name> earns <salary> monthly but wants <3 times salary>. Label the column Dream Salaries. _______________________________________________ _______________________________________________ _______________________________________________ ______________________________________________
  • 4. 7. Find the highest, lowest, sum, and average salary of all employees. Label the columns Maximum, Minimum, Sum, and Average, respectively. Round your results to the nearest whole number. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________ 8. The HR department needs the following reports: Modify the query in 7.sql to display the minimum, maximum, sum, and average salary for each job type. _______________________________________________ ______________________________________________ _______________________________________________ _______________________________________________
  • 5. 9. Create a report to display the manager number and the salary of the lowest- paid employee for that manager. Exclude anyone whose manager is not known. Exclude any groups where the minimum salary is $6,000 or less. Sort the output in descending order of salary. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________
  • 6. 9. Create a report to display the manager number and the salary of the lowest- paid employee for that manager. Exclude anyone whose manager is not known. Exclude any groups where the minimum salary is $6,000 or less. Sort the output in descending order of salary. _______________________________________________ _______________________________________________ _______________________________________________ _______________________________________________