My competition application needs to allocate amounts to the three top places for each month's points scores. I'm using a ranking query that generates the winners and ties, and the result look like this.
Without tied places (eg 17 Nov) the allocation of amount factors would be 1/2, 1/3, 1/6. With one winner and two joint second (eg 24 Nov) it would be 1/2, 1/4, 1/4. With two tied winners and one third the amounts would be 5/12, 5/12, 1/6, and so on.
How can I apply these factors to the whole table?
Without tied places (eg 17 Nov) the allocation of amount factors would be 1/2, 1/3, 1/6. With one winner and two joint second (eg 24 Nov) it would be 1/2, 1/4, 1/4. With two tied winners and one third the amounts would be 5/12, 5/12, 1/6, and so on.
How can I apply these factors to the whole table?