Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 917513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:13:27+00:00 2026-05-15T18:13:27+00:00

I am a student this is my LAST homework assignment : ) /* **(4.9)

  • 0

I am a student this is my LAST homework assignment : )

/*
**(4.9) Calculate the minimum salary for exempt employees
**and the maximum salary for non-exempt employees.
*/

I can only use one select statement… or without running two separate queries

I have 2 tables…
Job_title

(Job_title varchar (50) PRIMARY KEY,
EEO_1_Classification varchar(200),
Job_description varchar(250),
Exempt_Non_Exempt_Status bit );

and

Employee

(Emp_id int NOT NULL IDENTITY(1,1)PRIMARY KEY, 
Last_name varchar(25), 
First_name varchar(25),
Address varchar(40),    
City varchar (15),
State char(2),
Telephone_area_code varchar(3), 
Telephone_number varchar(8),    
Job_title varchar(50) foreign key references job_title(job_title),  
Hire_date smalldatetime,    
Wage money,
Gender char(1),
Race varchar(25),
Age int );

They are linked by the job_title primary key/foreign key.

Any advice???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:13:27+00:00Added an answer on May 15, 2026 at 6:13 pm

    Calculate the minimum salary for exempt employees and the maximum salary for non-exempt employees:

    select  min(case when j.Exempt_Non_Exempt_Status = 1 then e.Wage end)
    ,       max(case when j.Exempt_Non_Exempt_Status = 0 then e.Wage end)
    from    Employee e
    join    Job_title j
    on      j.Job_title = e.Job_title
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The purpose of this component is to test knowledge of a student on a
I'm a Engineering student and I'm attending a Database and Information Systems class this
Full disclaimer: I'm a CS student, and this question is related to a recently
I've got a table of student information in MySQL that looks like this (simplified):
I'm a student of web development (and college), so my apologies if this comes
I'm teaching Java EE at the university, and this was a question a student
Programming Student here...trying to work on a project but I'm stuck. The project is
I am a student studying software development, and I feel programming, in general, is
Say I have a Student table, it's got an int ID. I have a
I'm a CompSci student, and fairly new at C#, and I was doing a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.