I am a student this is homework. I'm getting tired and confused. Any advice will be appreciated.
I have two tables.
Employee has the following columns:
- Last_name
- First_name
- Address
- Phone
- Job_title(FK)
- Wage
Job_title has
- job_title(PK)
- EEO classification
- Job_description
- Exempt_Non_Exempt
I need to select the employees’ last names and group them by salary within job titles that are grouped into exempt and non-exempt.
I'm using sql server to check my work but it needs to be hand scripted.