Percentage Query

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.
 
G

Guest

SELECT TOP 25 PERCENT EmployeeName, Salaries
FROM YourTable
WHERE EmployeeTitle = "store workers"
ORDER BY Salaries DESC;
 
G

Guest

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.
 
G

Guest

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

Automate procedure 5
Query 2
Not all data in fields is showing up in query 5
strings in a query 6
Percentile Formula for Access 1
Training DataBase 9
Forms used to run query 6
problem with crosstab query 1

Top