Hello,
I have a question regarding designing a query to obtain a specified single record or row from a table. Is this even possible?
I understand top value and least value queries and filters. I've also done a lot of research in how to obtain a specified number of top or least value records.
I can't seem to find any information on how to obtain a specific record or row, after a ranking query is performed.
I have records for employees that are ranked in order of performance. Their information contains a field containing their performance score, which the ranking order is based on. It also contains a field that lists the ranking numbers in ascending order. The top performing employee is listed at the top of the order, with the ranking number one.
I need to place these employees in various positions according to their ranking position.
Whereas, the #1 ranked employee will be placed into position A, the #2 ranked employee will be placed into position B and so on.
So, I was wondering what would be the best way to do this?
Would it be best to run a macro (series of queries), which will fill the positions in sequence or to designate each position as (=) to their position in the ranking order?
1) If I did the macro, I would need to know how to design it to fill the positions in sequence.
2) If I were to designate each position to be filled by an employee in a corresponding ranking position, I would need to know how to write the expression that will place each employee according to their ranking position.
Can anyone help me?
Thanks!
I have a question regarding designing a query to obtain a specified single record or row from a table. Is this even possible?
I understand top value and least value queries and filters. I've also done a lot of research in how to obtain a specified number of top or least value records.
I can't seem to find any information on how to obtain a specific record or row, after a ranking query is performed.
I have records for employees that are ranked in order of performance. Their information contains a field containing their performance score, which the ranking order is based on. It also contains a field that lists the ranking numbers in ascending order. The top performing employee is listed at the top of the order, with the ranking number one.
I need to place these employees in various positions according to their ranking position.
Whereas, the #1 ranked employee will be placed into position A, the #2 ranked employee will be placed into position B and so on.
So, I was wondering what would be the best way to do this?
Would it be best to run a macro (series of queries), which will fill the positions in sequence or to designate each position as (=) to their position in the ranking order?
1) If I did the macro, I would need to know how to design it to fill the positions in sequence.
2) If I were to designate each position to be filled by an employee in a corresponding ranking position, I would need to know how to write the expression that will place each employee according to their ranking position.
Can anyone help me?
Thanks!