Percentage Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a database which is made up of several tables to show employees, job
titles, and salaries of different divisions within an organisation. I need
a query that will pull on the names of the highest 25% of people with a
certain job title within a table. For example, i would need a query to give
the highest 25% "store workers".

Thanks.
 
SELECT TOP 25 PERCENT EmployeeName, Salaries
FROM YourTable
WHERE EmployeeTitle = "store workers"
ORDER BY Salaries DESC;
 
made up of several tables to show employees, job titles, and salaries of
different divisions within an organisation.
Your structure seems wrong as you probably should have only one table but
with fields to designate the divisions.
What constitues "highest" when you refer to 'store workers'?

Post sample data with field names and datatype.
 
I typed my response wrong ---
Your structure seems wrong as you probably should have only one table but
with A FIELD to designate the divisions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Use DLookUp to Enter Data into a Table 3
Cumulative percentages 3
Percentage change 9
Sorting in a Report 5
Automate procedure 5
Training DataBase 9
Query 2
strings in a query 6

Back
Top