SQL code to show top X percent of vendor data – Mar 21, Victoria Yudin

I had an interesting request the other day – how do you show the top 10 (or 20) percent of vendor payments (or invoices) for a particular date range?

This is something that has to be done in a several steps – first you have to get your data, then summarize of it, then calculate the top X percent of the...

Continued on Source: SQL code to show top X percent of vendor data | Victoria Yudin