I am trying to get the 25th and 75th percentile of a table with a group by
Select Category, Price
From ProductsTable
Group By Category
What can I do to get 25th Percentile of Price within each Category? There will be over a hundred categories so if there is a better way to do the same thing, that would be great.
I just need results like this:
Category 25thPercPrice 75thPercPrice
Tickets $30 $50
Select Category, Price
From ProductsTable
Group By Category
What can I do to get 25th Percentile of Price within each Category? There will be over a hundred categories so if there is a better way to do the same thing, that would be great.
I just need results like this:
Category 25thPercPrice 75thPercPrice
Tickets $30 $50